Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",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.001273/0.001273, allocations: 100 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.001531/0.001531, 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.422/1.422, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.616/2.616, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 8 kB / 0.8147 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8226/0.823, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001501/0.8245, allocations: 1.051 MB / 0.9547 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.8257, allocations: 1.052 MB / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.8259, allocations: 4.406 kB / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.8259, allocations: 25.19 kB / 0.9557 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.8261, allocations: 32.2 kB / 0.9558 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.8263, allocations: 79.95 kB / 0.9558 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.8265, allocations: 184.8 kB / 0.956 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.8267, allocations: 149.9 kB / 0.9562 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.8269, allocations: 82.77 kB / 0.9562 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.827, allocations: 102.5 kB / 0.9563 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.8271, allocations: 8.75 kB / 0.9563 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.516e-05/0.8271, allocations: 8.438 kB / 0.9563 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.8271, allocations: 44.25 kB / 0.9564 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.8272, allocations: 75.7 kB / 0.9565 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.8274, allocations: 349.5 kB / 0.9568 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.8274, allocations: 1.094 kB / 0.9568 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.245e-06/0.8274, allocations: 0 / 0.9568 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.8274, allocations: 0 / 0.9568 GB, free: 5.551 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0006485/0.8281, allocations: 0.5248 MB / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.8282, allocations: 9.094 kB / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.504e-05/0.8282, allocations: 73.62 kB / 0.9574 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.8283, allocations: 40.89 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.8288, allocations: 333.4 kB / 0.9577 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.8288, allocations: 29.94 kB / 0.9578 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.8289, allocations: 28.84 kB / 0.9578 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.8293, allocations: 284.9 kB / 0.9581 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.8294, allocations: 0 / 0.9581 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.8294, allocations: 14.56 kB / 0.9581 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.8294, allocations: 7.719 kB / 0.9581 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005128/0.8299, allocations: 246 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.8309, allocations: 0.811 MB / 0.9591 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.8314, allocations: 237.6 kB / 0.9593 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.8314, allocations: 6.734 kB / 0.9594 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.8314, allocations: 39.94 kB / 0.9594 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.293e-06/0.8314, allocations: 0 / 0.9594 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007383/0.8322, allocations: 322.7 kB / 0.9597 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.8322, allocations: 54.31 kB / 0.9597 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.8324, allocations: 206.2 kB / 0.9599 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.8324, allocations: 31.42 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.8325, allocations: 174.8 kB / 0.9601 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.8325, allocations: 84.39 kB / 0.9602 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.8326, allocations: 5.312 kB / 0.9602 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.8326, allocations: 331.7 kB / 0.9605 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.8328, allocations: 78.58 kB / 0.9606 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.8331, allocations: 153.5 kB / 0.9608 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.8333, allocations: 93.3 kB / 0.9609 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8333, allocations: 0 / 0.9609 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005177/0.8338, allocations: 284.3 kB / 0.9611 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.8338, allocations: 5.438 kB / 0.9611 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.8339, allocations: 1.656 kB / 0.9611 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.8339, allocations: 7.656 kB / 0.9611 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.8341, allocations: 62.3 kB / 0.9612 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.8341, allocations: 7.312 kB / 0.9612 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.8343, allocations: 28.94 kB / 0.9612 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.8343, allocations: 11.95 kB / 0.9612 GB, free: 2.113 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001226/0.8345, allocations: 150.3 kB / 0.9614 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.8345, allocations: 25.61 kB / 0.9614 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.835, allocations: 255.3 kB / 0.9617 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.835, allocations: 3.281 kB / 0.9617 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8351, allocations: 0 / 0.9617 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8351, allocations: 0 / 0.9617 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.8354, allocations: 339.9 kB / 0.962 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.8354, allocations: 0 / 0.962 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.8356, allocations: 52.25 kB / 0.962 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.8356, allocations: 5.078 kB / 0.962 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.8356, allocations: 10.05 kB / 0.962 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.8356, allocations: 0.8438 kB / 0.962 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8356, allocations: 4.688 kB / 0.9621 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.8361, allocations: 334.5 kB / 0.9624 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.8361, allocations: 95.2 kB / 0.9625 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.8362, allocations: 13.88 kB / 0.9625 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.8363, allocations: 15.91 kB / 0.9625 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.8364, allocations: 30.36 kB / 0.9625 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.8364, allocations: 9.688 kB / 0.9625 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.767e-05/0.8365, allocations: 135.6 kB / 0.9627 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8365, allocations: 0 / 0.9627 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000319/0.8368, allocations: 61.78 kB / 0.9627 GB, free: 0.9727 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: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0006803/0.8375, allocations: 0.8802 MB / 0.9636 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000574/0.8381, allocations: 230 kB / 0.9638 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8381, allocations: 0 / 0.9638 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.8383, allocations: 119.3 kB / 0.9639 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.8386, allocations: 27.31 kB / 0.9639 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.8414, allocations: 2.404 MB / 0.9663 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.8417, allocations: 0.7707 MB / 0.967 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.8419, allocations: 38.58 kB / 0.9671 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.8421, allocations: 90.41 kB / 0.9672 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of SimCode: time 5.62e-07/0.8421, allocations: 0 / 0.9672 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.8572, allocations: 3.978 MB / 0.971 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.8574, allocations: 223.9 kB / 0.9713 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.575, allocations: 0 / 0.9713 GB, free: 11.18 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat