Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.0009067/0.0009066, 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.0008899/0.0008899, allocations: 177.3 kB / 15.95 MB, free: 216 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.489/2.489, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.000364, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8614/0.8618, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001383/0.8632, allocations: 0.9392 MB / 0.9545 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007014/0.8639, allocations: 398.8 kB / 0.9549 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.864, allocations: 4 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.864, allocations: 0 / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.864, allocations: 5.547 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.8645, allocations: 85.55 kB / 0.955 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.871e-05/0.8645, allocations: 8.5 kB / 0.955 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.8646, allocations: 1.406 kB / 0.955 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.8646, allocations: 7.141 kB / 0.955 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.127e-05/0.8647, allocations: 14.48 kB / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.8647, allocations: 1.781 kB / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.8649, allocations: 70.09 kB / 0.9551 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.8649, allocations: 17.78 kB / 0.9551 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.8649, allocations: 28.08 kB / 0.9551 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.8651, allocations: 67.03 kB / 0.9552 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.8651, allocations: 0 / 0.9552 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8651, allocations: 1.219 kB / 0.9552 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.8651, allocations: 0 / 0.9552 GB, free: 6.879 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.0003943/0.8655, allocations: 369.7 kB / 0.9555 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.8655, allocations: 9.312 kB / 0.9555 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.8656, allocations: 34.56 kB / 0.9556 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.8656, allocations: 14.86 kB / 0.9556 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.827e-05/0.8657, allocations: 160.4 kB / 0.9557 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.8657, allocations: 4.922 kB / 0.9558 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.8658, allocations: 2.25 kB / 0.9558 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.8659, allocations: 44.03 kB / 0.9558 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.8659, allocations: 0 / 0.9558 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.8659, allocations: 0 / 0.9558 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.8659, allocations: 1.094 kB / 0.9558 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.8659, allocations: 8.141 kB / 0.9558 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.8662, allocations: 256.8 kB / 0.956 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.8663, allocations: 37.09 kB / 0.9561 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.8663, allocations: 1.062 kB / 0.9561 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.8665, allocations: 60.55 kB / 0.9561 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.8665, allocations: 0 / 0.9561 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.00021/0.8667, allocations: 73.17 kB / 0.9562 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.8668, allocations: 56.64 kB / 0.9563 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.479e-05/0.8668, allocations: 106.6 kB / 0.9564 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.8668, allocations: 26.89 kB / 0.9564 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.8669, allocations: 81.33 kB / 0.9565 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.8669, allocations: 21.25 kB / 0.9565 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.8669, allocations: 1.188 kB / 0.9565 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.867, allocations: 316.1 kB / 0.9568 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.867, allocations: 9.156 kB / 0.9568 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.867, allocations: 34.42 kB / 0.9568 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.8671, allocations: 11.94 kB / 0.9568 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8671, allocations: 0 / 0.9568 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001173/0.8672, allocations: 82.17 kB / 0.9569 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.8672, allocations: 7.062 kB / 0.9569 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.8672, allocations: 1.062 kB / 0.9569 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.8672, allocations: 2.062 kB / 0.9569 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.8673, allocations: 10.73 kB / 0.9569 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.8673, allocations: 1.375 kB / 0.9569 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.8674, allocations: 10.73 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.8674, allocations: 6.562 kB / 0.957 GB, free: 4.992 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 6.661e-05/0.8674, allocations: 108.6 kB / 0.9571 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-06/0.8675, allocations: 5.406 kB / 0.9571 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.8675, allocations: 8.5 kB / 0.9571 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8675, allocations: 1.094 kB / 0.9571 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.8675, allocations: 8.141 kB / 0.9571 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8675, allocations: 3.938 kB / 0.9571 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.8677, allocations: 301 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8677, allocations: 1.219 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/0.8678, allocations: 2.344 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8678, allocations: 1.25 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.8678, allocations: 5.219 kB / 0.9574 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.8678, allocations: 3.953 kB / 0.9574 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8678, allocations: 0 / 0.9574 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.8679, allocations: 163.5 kB / 0.9575 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.868, allocations: 82.27 kB / 0.9576 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.868, allocations: 1.188 kB / 0.9576 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.8681, allocations: 0 / 0.9576 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.8681, allocations: 10.31 kB / 0.9576 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.8681, allocations: 9 kB / 0.9576 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.8681, allocations: 82.62 kB / 0.9577 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8681, allocations: 0 / 0.9577 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003202/0.8685, allocations: 36.11 kB / 0.9578 GB, free: 4.168 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.0006119/0.8691, allocations: 0.7649 MB / 0.9585 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.8692, allocations: 35.41 kB / 0.9585 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8692, allocations: 4.938 kB / 0.9585 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.8692, allocations: 12.94 kB / 0.9586 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.8694, allocations: 14.81 kB / 0.9586 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.8699, allocations: 0.7835 MB / 0.9593 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.8701, allocations: 0.6888 MB / 0.96 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.908e-05/0.8701, allocations: 1.406 kB / 0.96 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.8701, allocations: 14.34 kB / 0.96 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.8701, allocations: 0 / 0.96 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.8827, allocations: 1.751 MB / 0.9617 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.883, allocations: 219.6 kB / 0.9619 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.62, allocations: 3.938 kB / 0.9619 GB, free: 0.793 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat does not exist to compare? outputFormat=mat