Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001174/0.001174, allocations: 193.6 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.058/2.058, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.91 kB / 0.8121 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4869/0.488, allocations: 140.4 MB / 0.9491 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.003946/0.492, allocations: 4.356 MB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.4939, allocations: 2.108 MB / 0.9555 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.4942, allocations: 21.94 kB / 0.9555 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.4945, allocations: 129 kB / 0.9556 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.4949, allocations: 163.8 kB / 0.9558 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.4956, allocations: 0.4954 MB / 0.9562 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008003/0.4964, allocations: 1.415 MB / 0.9576 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009463/0.4974, allocations: 1.07 MB / 0.9587 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.4977, allocations: 0.5036 MB / 0.9592 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.4981, allocations: 0.6577 MB / 0.9598 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.4982, allocations: 99.25 kB / 0.9599 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.4984, allocations: 110.4 kB / 0.96 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.4986, allocations: 340.3 kB / 0.9603 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000372/0.499, allocations: 0.6724 MB / 0.961 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.5004, allocations: 2.226 MB / 0.9632 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5005, allocations: 4 kB / 0.9632 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5005, allocations: 0 / 0.9632 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.5005, allocations: 1.031 kB / 0.9632 GB, free: 14.3 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.002373/0.5029, allocations: 1.756 MB / 0.9649 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.5029, allocations: 10.12 kB / 0.9649 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/0.5031, allocations: 230.5 kB / 0.9651 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.5033, allocations: 169.8 kB / 0.9653 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008028/0.5041, allocations: 0.717 MB / 0.966 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.04e-05/0.5042, allocations: 124.1 kB / 0.9661 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.5044, allocations: 161.4 kB / 0.9662 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.5066, allocations: 1.321 MB / 0.9675 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.5066, allocations: 0 / 0.9675 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.5067, allocations: 61.56 kB / 0.9676 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.5067, allocations: 37.72 kB / 0.9676 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.5088, allocations: 1.158 MB / 0.9688 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.514, allocations: 3.989 MB / 0.9727 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.5157, allocations: 1.012 MB / 0.9736 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.5164, allocations: 354.7 kB / 0.974 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.5164, allocations: 12.25 kB / 0.974 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007332/0.5172, allocations: 399.1 kB / 0.9744 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 1.944e-06/0.5172, allocations: 0 / 0.9744 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.001981/0.5192, allocations: 0.9889 MB / 0.9753 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.5192, allocations: 64.62 kB / 0.9754 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009679/0.5202, allocations: 0.9412 MB / 0.9763 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.5202, allocations: 47.28 kB / 0.9764 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.5207, allocations: 0.6575 MB / 0.977 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.5208, allocations: 238.8 kB / 0.9772 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.5211, allocations: 170.5 kB / 0.9774 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5212, allocations: 337.8 kB / 0.9777 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.5219, allocations: 359.1 kB / 0.9781 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/0.5227, allocations: 0.5116 MB / 0.9786 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.5241, allocations: 0.8261 MB / 0.9794 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5241, allocations: 0 / 0.9794 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001816/0.5259, allocations: 1.068 MB / 0.9804 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.526, allocations: 41.69 kB / 0.9804 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.526, allocations: 4 kB / 0.9805 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.526, allocations: 8 kB / 0.9805 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.5267, allocations: 187.7 kB / 0.9806 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.5267, allocations: 8 kB / 0.9806 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/0.5275, allocations: 194.5 kB / 0.9808 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/0.5275, allocations: 35.98 kB / 0.9809 GB, free: 1.012 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,opeMod.y,ahu1.occMod.y,zon3.occSen.y,zon2.occSen.y,zon1.cloWin.y,zon1.occSen.y,ahu1.intEqu1.y,winSta1.y,$PRE.winSta1.y,zon3.hys.y,$PRE.zon3.hys.y,zon3.nOcc,zon2.hys.y,$PRE.zon2.hys.y,zon2.nOcc,zon1.hys.y,$PRE.zon1.hys.y,zon1.nOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003493/0.5279, allocations: 306.2 kB / 0.9812 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.528, allocations: 102.7 kB / 0.9813 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.5295, allocations: 0.7924 MB / 0.982 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.5295, allocations: 8 kB / 0.982 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5296, allocations: 4 kB / 0.982 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5296, allocations: 3.984 kB / 0.982 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.5327, allocations: 2.27 MB / 0.9843 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.5327, allocations: 4 kB / 0.9843 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.5332, allocations: 156.4 kB / 0.9844 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.5332, allocations: 8 kB / 0.9844 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.5333, allocations: 20 kB / 0.9844 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.904e-06/0.5333, allocations: 15.98 kB / 0.9845 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5333, allocations: 7.938 kB / 0.9845 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.5348, allocations: 0.995 MB / 0.9854 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.5349, allocations: 219.6 kB / 0.9856 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.535, allocations: 20 kB / 0.9857 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.5355, allocations: 63.92 kB / 0.9857 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.5357, allocations: 100.1 kB / 0.9858 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.5358, allocations: 35.94 kB / 0.9859 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006555/0.5364, allocations: 0.6371 MB / 0.9865 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5364, allocations: 0 / 0.9865 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006021/0.537, allocations: 290.6 kB / 0.9868 GB, free: 10.73 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,zon1.nOcc,zon1.hys.y,zon2.nOcc,zon2.hys.y,zon3.nOcc,zon3.hys.y,winSta1.y) * Number of discrete states: 3 (zon3.hys.y,zon2.hys.y,zon1.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001765/0.5388, allocations: 1.598 MB / 0.9883 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.5403, allocations: 0.8648 MB / 0.9892 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5403, allocations: 0 / 0.9892 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.5414, allocations: 0.5346 MB / 0.9897 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008136/0.5422, allocations: 167.2 kB / 0.9898 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.5539, allocations: 9.102 MB / 0.9987 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.5545, allocations: 1.146 MB / 0.9998 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004614/0.555, allocations: 175.5 kB / 1 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/0.5555, allocations: 495.3 kB / 1 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of SimCode: time 3.51e-07/0.5555, allocations: 0 / 1 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.475/4.03, allocations: 17.33 MB / 1.017 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/4.03, allocations: 277.6 kB / 1.018 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/6.117, allocations: 0 / 1.018 GB, free: 10.68 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1)