Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001105, allocations: 180.6 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008756/0.0008756, allocations: 105.7 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.246e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2398, allocations: 142.4 MB / 1.206 GB, free: 43.78 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8779/1.118, allocations: 150.4 MB / 1.353 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/1.118, allocations: 78.31 kB / 1.353 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01645/1.134, allocations: 6.66 MB / 1.36 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.134, allocations: 3.938 kB / 1.36 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.133e-05/1.135, allocations: 19.5 kB / 1.36 GB, free: 33.71 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001401/1.136, allocations: 0.7293 MB / 1.36 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.136, allocations: 8.891 kB / 1.36 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/1.136, allocations: 66.16 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/1.137, allocations: 381 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/1.137, allocations: 18.69 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/1.137, allocations: 34.75 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006401/1.137, allocations: 396.7 kB / 1.361 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/1.138, allocations: 409.1 kB / 1.362 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.138, allocations: 4 kB / 1.362 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/1.138, allocations: 3.938 kB / 1.362 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/1.138, allocations: 15.5 kB / 1.362 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/1.14, allocations: 1.476 MB / 1.363 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008001/1.141, allocations: 406 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/1.141, allocations: 163.7 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/1.141, allocations: 7.781 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/1.141, allocations: 37.97 kB / 1.364 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 2.314e-06/1.141, allocations: 0 / 1.364 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38): time 0.0004648/1.142, allocations: 292.2 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/1.142, allocations: 59.25 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/1.142, allocations: 259.9 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/1.142, allocations: 25.7 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/1.142, allocations: 277.7 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/1.142, allocations: 118 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/1.142, allocations: 3.875 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.143, allocations: 339.3 kB / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/1.143, allocations: 116.7 kB / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/1.143, allocations: 165.6 kB / 1.365 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/1.143, allocations: 136.6 kB / 1.365 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.143, allocations: 0 / 1.365 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004463/1.144, allocations: 354 kB / 1.366 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.665e-05/1.144, allocations: 190.7 kB / 1.366 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.144, allocations: 0 / 1.366 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.144, allocations: 3.812 kB / 1.366 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/1.144, allocations: 98.88 kB / 1.366 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/1.144, allocations: 3.969 kB / 1.366 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/1.144, allocations: 70.06 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/1.145, allocations: 14.59 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/1.145, allocations: 3.875 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003872/1.145, allocations: 283.1 kB / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-06/1.145, allocations: 3.938 kB / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/1.145, allocations: 7.828 kB / 1.366 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/1.145, allocations: 94.05 kB / 1.366 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/1.145, allocations: 0 / 1.366 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/1.145, allocations: 32.8 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/1.146, allocations: 10.75 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 0.0001234/1.146, allocations: 112.8 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003729/1.146, allocations: 287.8 kB / 1.367 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/1.146, allocations: 35.05 kB / 1.367 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/1.147, allocations: 310.3 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.147, allocations: 7.781 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.147, allocations: 3.844 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/1.147, allocations: 3.141 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/1.148, allocations: 1.151 MB / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.148, allocations: 3.969 kB / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/1.148, allocations: 80.94 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/1.148, allocations: 11.72 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/1.148, allocations: 11.64 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/1.148, allocations: 14.72 kB / 1.368 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.148, allocations: 3.844 kB / 1.368 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/1.149, allocations: 0.7639 MB / 1.369 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/1.149, allocations: 120.9 kB / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/1.149, allocations: 7.688 kB / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/1.149, allocations: 53.52 kB / 1.369 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/1.149, allocations: 41.08 kB / 1.369 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/1.149, allocations: 19.03 kB / 1.369 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001658/1.149, allocations: 196 kB / 1.37 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.149, allocations: 0 / 1.37 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000588/1.15, allocations: 178.1 kB / 1.37 GB, free: 29.55 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.001566/1.152, allocations: 2.686 MB / 1.372 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006189/1.152, allocations: 465.2 kB / 1.373 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.152, allocations: 3.875 kB / 1.373 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/1.152, allocations: 149.2 kB / 1.373 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/1.153, allocations: 47.95 kB / 1.373 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/1.154, allocations: 0.7417 MB / 1.374 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/1.155, allocations: 0.8493 MB / 1.375 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002674/1.155, allocations: 56.75 kB / 1.375 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/1.155, allocations: 163.4 kB / 1.375 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.155, allocations: 7.875 kB / 1.375 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/1.181, allocations: 6.219 MB / 1.381 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/1.181, allocations: 180.2 kB / 1.381 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/3.184, allocations: 4 kB / 1.381 GB, free: 25.25 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T_res.mat does not exist to compare? outputFormat=mat