Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.3 MB / 0.6653 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.818, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001073/0.8191, allocations: 0.9491 MB / 0.9545 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006565/0.8198, allocations: 425 kB / 0.9549 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.8198, allocations: 0 / 0.9549 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.8198, allocations: 0 / 0.9549 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.972e-05/0.8199, allocations: 3.938 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.8203, allocations: 87.92 kB / 0.955 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.845e-05/0.8203, allocations: 13.64 kB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.8204, allocations: 5.062 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.976e-05/0.8204, allocations: 8.078 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.6e-05/0.8204, allocations: 10.72 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.8204, allocations: 1.406 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.8206, allocations: 80.16 kB / 0.9551 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.8206, allocations: 5.031 kB / 0.9551 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.8207, allocations: 31.8 kB / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.8208, allocations: 69.12 kB / 0.9552 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.8208, allocations: 4 kB / 0.9552 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8208, allocations: 0.8125 kB / 0.9552 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.8208, allocations: 0 / 0.9552 GB, free: 6.832 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000328/0.8211, allocations: 374.5 kB / 0.9556 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.8212, allocations: 10.19 kB / 0.9556 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.8212, allocations: 34.56 kB / 0.9556 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.8213, allocations: 23.25 kB / 0.9556 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.676e-05/0.8213, allocations: 168.8 kB / 0.9558 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.8214, allocations: 1.25 kB / 0.9558 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.8214, allocations: 6.375 kB / 0.9558 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.235e-05/0.8215, allocations: 39.53 kB / 0.9558 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.8215, allocations: 3.938 kB / 0.9558 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.8215, allocations: 5.078 kB / 0.9559 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.8215, allocations: 3.938 kB / 0.9559 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.158e-05/0.8216, allocations: 8.391 kB / 0.9559 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.8218, allocations: 245.1 kB / 0.9561 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.8219, allocations: 38.66 kB / 0.9561 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.834e-06/0.8219, allocations: 0 / 0.9561 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.8221, allocations: 57.5 kB / 0.9562 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.8221, allocations: 0 / 0.9562 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001862/0.8223, allocations: 81.44 kB / 0.9563 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.8223, allocations: 57.53 kB / 0.9563 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.927e-05/0.8224, allocations: 104.8 kB / 0.9564 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.8224, allocations: 26.83 kB / 0.9564 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/0.8224, allocations: 85.08 kB / 0.9565 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.8224, allocations: 10.48 kB / 0.9565 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.8224, allocations: 4 kB / 0.9565 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.834e-05/0.8225, allocations: 312.2 kB / 0.9568 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.8225, allocations: 9.062 kB / 0.9568 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.968e-05/0.8225, allocations: 42.98 kB / 0.9569 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.8226, allocations: 11.25 kB / 0.9569 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8226, allocations: 1.281 kB / 0.9569 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.907e-05/0.8227, allocations: 73.52 kB / 0.957 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.8227, allocations: 6.75 kB / 0.957 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.8227, allocations: 0 / 0.957 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.8227, allocations: 5.406 kB / 0.957 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.8228, allocations: 16.02 kB / 0.957 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.8228, allocations: 1.062 kB / 0.957 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.8228, allocations: 10.02 kB / 0.957 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.8228, allocations: 3.5 kB / 0.957 GB, free: 4.934 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.8229, allocations: 112.3 kB / 0.9571 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.868e-06/0.8229, allocations: 5.781 kB / 0.9571 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.8229, allocations: 4.906 kB / 0.9571 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8229, allocations: 1.094 kB / 0.9571 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8229, allocations: 11.89 kB / 0.9571 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8229, allocations: 4.578 kB / 0.9571 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.8231, allocations: 311.4 kB / 0.9574 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.8231, allocations: 3.938 kB / 0.9574 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.8232, allocations: 2.75 kB / 0.9575 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8232, allocations: 1.438 kB / 0.9575 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.8232, allocations: 3.984 kB / 0.9575 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.8232, allocations: 5.078 kB / 0.9575 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8232, allocations: 0 / 0.9575 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.8233, allocations: 159.9 kB / 0.9576 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.8233, allocations: 85.98 kB / 0.9577 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.8233, allocations: 5.047 kB / 0.9577 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.904e-05/0.8234, allocations: 1.031 kB / 0.9577 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.8234, allocations: 5.234 kB / 0.9577 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.8234, allocations: 2.344 kB / 0.9577 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.395e-05/0.8234, allocations: 87.89 kB / 0.9578 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8235, allocations: 0 / 0.9578 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000273/0.8237, allocations: 36.09 kB / 0.9578 GB, free: 4.094 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005075/0.8242, allocations: 0.7629 MB / 0.9586 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.264e-05/0.8243, allocations: 39.55 kB / 0.9586 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8244, allocations: 3.938 kB / 0.9586 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.8244, allocations: 21.89 kB / 0.9586 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.8245, allocations: 7.203 kB / 0.9586 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.825, allocations: 0.8011 MB / 0.9594 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.8251, allocations: 0.681 MB / 0.9601 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.236e-05/0.8252, allocations: 10.77 kB / 0.9601 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.8252, allocations: 8.719 kB / 0.9601 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8252, allocations: 1.469 kB / 0.9601 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.8374, allocations: 1.824 MB / 0.9619 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.8376, allocations: 229.9 kB / 0.9621 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.578, allocations: 0 / 0.9621 GB, free: 0.6836 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat does not exist to compare? outputFormat=mat