Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.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.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Title24_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Title24_Validation_OutdoorAirFlow",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.293/2.293, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001244/0.001244, allocations: 186.4 kB / 498.1 MB, free: 5.688 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.581/1.581, allocations: 223.2 MB / 0.7948 GB, free: 18.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009224, allocations: 110.2 kB / 0.9346 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 8.594 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2995, allocations: 142.4 MB / 1.223 GB, free: 89.32 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/0.5018, allocations: 151.3 MB / 1.371 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5021, allocations: 83.92 kB / 1.371 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.5178, allocations: 6.322 MB / 1.377 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5179, allocations: 0 / 1.377 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.735e-05/0.5179, allocations: 15.94 kB / 1.377 GB, free: 11.39 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001497/0.5194, allocations: 0.7793 MB / 1.378 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5195, allocations: 8.031 kB / 1.378 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.5197, allocations: 94.52 kB / 1.378 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.5198, allocations: 63.2 kB / 1.378 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.5205, allocations: 438.4 kB / 1.378 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.5206, allocations: 41.31 kB / 1.378 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.5207, allocations: 51.98 kB / 1.379 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009217/0.5216, allocations: 0.5453 MB / 1.379 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.5216, allocations: 0 / 1.379 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.5217, allocations: 23.94 kB / 1.379 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.5217, allocations: 15.94 kB / 1.379 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007978/0.5225, allocations: 0.5126 MB / 1.38 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.5252, allocations: 1.606 MB / 1.381 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/0.5259, allocations: 274.7 kB / 1.381 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.526, allocations: 7.984 kB / 1.381 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.526, allocations: 42.88 kB / 1.381 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 2.355e-06/0.526, allocations: 0 / 1.381 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.0005684/0.5266, allocations: 300.8 kB / 1.382 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.5267, allocations: 59.41 kB / 1.382 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.5276, allocations: 0.705 MB / 1.382 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.5277, allocations: 33.64 kB / 1.383 GB, free: 5.609 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.5279, allocations: 292.1 kB / 1.383 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.528, allocations: 59.11 kB / 1.383 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.528, allocations: 7.938 kB / 1.383 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.5282, allocations: 366.7 kB / 1.383 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.5284, allocations: 144.4 kB / 1.383 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.5286, allocations: 151.6 kB / 1.383 GB, free: 4.598 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.5289, allocations: 145.1 kB / 1.384 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5289, allocations: 0 / 1.384 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005521/0.5294, allocations: 394.7 kB / 1.384 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5295, allocations: 8.609 kB / 1.384 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5295, allocations: 8 kB / 1.384 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5295, allocations: 0 / 1.384 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.5298, allocations: 51.91 kB / 1.384 GB, free: 4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5298, allocations: 4 kB / 1.384 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.53, allocations: 59.48 kB / 1.384 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.5301, allocations: 11.98 kB / 1.384 GB, free: 3.926 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (zonToAhu.booToRea[2].u,zonToAhu.booToRea[1].u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0002884/0.5304, allocations: 239 kB / 1.384 GB, free: 3.684 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.5304, allocations: 47.34 kB / 1.384 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.5309, allocations: 272.3 kB / 1.385 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5309, allocations: 0 / 1.385 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5309, allocations: 0 / 1.385 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.5309, allocations: 3.984 kB / 1.385 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.5325, allocations: 1.265 MB / 1.386 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5325, allocations: 7.938 kB / 1.386 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.5327, allocations: 27.98 kB / 1.386 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.5327, allocations: 11.94 kB / 1.386 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.5327, allocations: 11.94 kB / 1.386 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.5327, allocations: 11.94 kB / 1.386 GB, free: 1.914 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5328, allocations: 4 kB / 1.386 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006076/0.5334, allocations: 0.5459 MB / 1.387 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.5336, allocations: 172.3 kB / 1.387 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.5337, allocations: 8 kB / 1.387 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.5339, allocations: 23.92 kB / 1.387 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.5339, allocations: 19.98 kB / 1.387 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.5339, allocations: 12 kB / 1.387 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006564/0.5346, allocations: 0.5534 MB / 1.387 GB, free: 408 kB / 0.8855 GB Notification: Performance of sort global known variables: time 3.166e-06/0.5346, allocations: 0 / 1.387 GB, free: 408 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003504/0.535, allocations: 95.64 kB / 1.387 GB, free: 312 kB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001321/0.5363, allocations: 2.199 MB / 1.39 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.5367, allocations: 259.9 kB / 1.39 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5367, allocations: 0 / 1.39 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.5369, allocations: 108.4 kB / 1.39 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.5373, allocations: 71.03 kB / 1.39 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/0.5421, allocations: 3.451 MB / 1.393 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.5427, allocations: 0.9208 MB / 1.394 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.5429, allocations: 100.1 kB / 1.394 GB, free: 8.93 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.5432, allocations: 175.4 kB / 1.394 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of SimCode: time 2.345e-06/0.5432, allocations: 3.938 kB / 1.394 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.568, allocations: 8.943 MB / 1.403 GB, free: 108 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.6535/1.222, allocations: 254.4 kB / 1.403 GB, free: 178.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/3.212, allocations: 0 / 1.403 GB, free: 178.5 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Title24_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Title24_Validation_OutdoorAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow_res.mat does not exist to compare? outputFormat=mat