Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.001123/0.001123, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001493/0.001493, allocations: 168.7 kB / 15.95 MB, free: 204 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.544/1.544, allocations: 223.2 MB / 240 MB, free: 5.41 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.41/2.41, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8655/0.8659, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001423/0.8674, allocations: 0.9298 MB / 0.9547 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007169/0.8682, allocations: 394.3 kB / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.8682, allocations: 1.438 kB / 0.9551 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.8682, allocations: 3.938 kB / 0.9551 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.8683, allocations: 3.938 kB / 0.9551 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.8687, allocations: 83.41 kB / 0.9552 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.487e-05/0.8688, allocations: 15.02 kB / 0.9552 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.8688, allocations: 1.312 kB / 0.9552 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.454e-05/0.8689, allocations: 12.17 kB / 0.9552 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.909e-05/0.8689, allocations: 2.125 kB / 0.9552 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.8689, allocations: 5.312 kB / 0.9552 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.8691, allocations: 92.31 kB / 0.9553 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.8691, allocations: 10.08 kB / 0.9553 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.8692, allocations: 27.23 kB / 0.9554 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.8693, allocations: 63.3 kB / 0.9554 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.8693, allocations: 5.062 kB / 0.9554 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8693, allocations: 0 / 0.9554 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8693, allocations: 0 / 0.9554 GB, free: 6.82 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.0003978/0.8697, allocations: 373.9 kB / 0.9558 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.8698, allocations: 17.78 kB / 0.9558 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.393e-05/0.8699, allocations: 39.88 kB / 0.9558 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.8699, allocations: 5.391 kB / 0.9558 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.87, allocations: 160.5 kB / 0.956 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.87, allocations: 1.406 kB / 0.956 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.87, allocations: 2.906 kB / 0.956 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.8702, allocations: 43.23 kB / 0.956 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8702, allocations: 4 kB / 0.956 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.8702, allocations: 1.375 kB / 0.956 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8702, allocations: 0 / 0.956 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.8702, allocations: 11.55 kB / 0.9561 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.8705, allocations: 257.5 kB / 0.9563 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.8706, allocations: 33.03 kB / 0.9563 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.8707, allocations: 16.25 kB / 0.9563 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.8707, allocations: 0.875 kB / 0.9564 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.8708, allocations: 60.38 kB / 0.9564 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.793e-06/0.8708, allocations: 1 kB / 0.9564 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001973/0.871, allocations: 80.2 kB / 0.9565 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.8711, allocations: 53.06 kB / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.8711, allocations: 103 kB / 0.9566 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.8711, allocations: 30.89 kB / 0.9567 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.343e-05/0.8712, allocations: 84.14 kB / 0.9567 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.8712, allocations: 10.16 kB / 0.9568 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.8712, allocations: 4.844 kB / 0.9568 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.8713, allocations: 311.8 kB / 0.9571 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.8713, allocations: 12.77 kB / 0.9571 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.8713, allocations: 31.28 kB / 0.9571 GB, free: 5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.149e-05/0.8714, allocations: 28.23 kB / 0.9571 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8714, allocations: 0 / 0.9571 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.552e-05/0.8715, allocations: 66.66 kB / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8715, allocations: 5.312 kB / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8715, allocations: 1.125 kB / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.8715, allocations: 4.891 kB / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.8716, allocations: 11.52 kB / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.8716, allocations: 6.031 kB / 0.9572 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.8716, allocations: 5.094 kB / 0.9572 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.8716, allocations: 7.344 kB / 0.9572 GB, free: 4.914 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.572e-05/0.8717, allocations: 115.9 kB / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.8717, allocations: 1.969 kB / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.8717, allocations: 8.703 kB / 0.9573 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8718, allocations: 1.156 kB / 0.9573 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8718, allocations: 3.953 kB / 0.9574 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8718, allocations: 0 / 0.9574 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.872, allocations: 305.3 kB / 0.9576 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.872, allocations: 4 kB / 0.9576 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.872, allocations: 7.422 kB / 0.9577 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.872, allocations: 1.312 kB / 0.9577 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.872, allocations: 3.953 kB / 0.9577 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.872, allocations: 1.438 kB / 0.9577 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.872, allocations: 0 / 0.9577 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.8722, allocations: 158.8 kB / 0.9578 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.8722, allocations: 86.25 kB / 0.9579 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.8722, allocations: 1.469 kB / 0.9579 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.8723, allocations: 9.359 kB / 0.9579 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.8723, allocations: 1.406 kB / 0.9579 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.8723, allocations: 1.438 kB / 0.9579 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.21e-05/0.8723, allocations: 85.8 kB / 0.958 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8723, allocations: 0 / 0.958 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002748/0.8726, allocations: 31.81 kB / 0.958 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.000565/0.8732, allocations: 0.7673 MB / 0.9588 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.8733, allocations: 31.14 kB / 0.9588 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8733, allocations: 0 / 0.9588 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.8734, allocations: 17.27 kB / 0.9588 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.8736, allocations: 14.08 kB / 0.9588 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.8742, allocations: 413.2 kB / 0.9592 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.8744, allocations: 0.683 MB / 0.9599 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.126e-05/0.8744, allocations: 2.531 kB / 0.9599 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.8745, allocations: 13.44 kB / 0.9599 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8745, allocations: 3.938 kB / 0.9599 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.8877, allocations: 1.761 MB / 0.9616 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.888, allocations: 223 kB / 0.9618 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.715, allocations: 0 / 0.9618 GB, free: 1.145 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat does not exist to compare? outputFormat=mat