Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_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.001359/0.001359, allocations: 100.3 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.001683/0.001683, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.25/2.25, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.711/3.711, allocations: 409.2 MB / 0.6838 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004368, allocations: 8 kB / 0.8376 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375/1.375, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001813/1.377, allocations: 0.6803 MB / 0.9816 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001853/1.379, allocations: 0.952 MB / 0.9825 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/1.379, allocations: 0 / 0.9825 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/1.379, allocations: 11.86 kB / 0.9825 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/1.38, allocations: 19.91 kB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/1.38, allocations: 43.89 kB / 0.9826 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/1.38, allocations: 91.84 kB / 0.9827 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/1.38, allocations: 59.02 kB / 0.9827 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/1.381, allocations: 47.78 kB / 0.9828 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/1.381, allocations: 55.69 kB / 0.9828 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/1.381, allocations: 4 kB / 0.9828 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.393e-05/1.381, allocations: 4 kB / 0.9828 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/1.381, allocations: 15.92 kB / 0.9828 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.641e-05/1.381, allocations: 45.64 kB / 0.9829 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/1.381, allocations: 149.9 kB / 0.983 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.381, allocations: 0 / 0.983 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.846e-06/1.381, allocations: 0 / 0.983 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.381, allocations: 0 / 0.983 GB, free: 4.137 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0008833/1.382, allocations: 442.9 kB / 0.9835 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/1.382, allocations: 8.031 kB / 0.9835 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/1.382, allocations: 46.56 kB / 0.9835 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/1.382, allocations: 23.8 kB / 0.9835 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/1.383, allocations: 251.8 kB / 0.9838 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/1.383, allocations: 12.28 kB / 0.9838 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/1.383, allocations: 15.95 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/1.384, allocations: 147.9 kB / 0.9839 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.384, allocations: 3.938 kB / 0.9839 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/1.384, allocations: 11.98 kB / 0.984 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/1.384, allocations: 3.984 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/1.384, allocations: 124.8 kB / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009769/1.385, allocations: 472.3 kB / 0.9845 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/1.385, allocations: 106.7 kB / 0.9846 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/1.385, allocations: 7.984 kB / 0.9846 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/1.385, allocations: 34.78 kB / 0.9847 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 3.166e-06/1.385, allocations: 0 / 0.9847 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006704/1.386, allocations: 201.2 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/1.386, allocations: 51.41 kB / 0.9849 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/1.386, allocations: 148.3 kB / 0.9851 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/1.386, allocations: 29.7 kB / 0.9851 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/1.387, allocations: 119.7 kB / 0.9852 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/1.387, allocations: 31.56 kB / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/1.387, allocations: 0 / 0.9852 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002656/1.387, allocations: 326.8 kB / 0.9855 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/1.387, allocations: 47.95 kB / 0.9856 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/1.387, allocations: 79.41 kB / 0.9857 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/1.387, allocations: 51.91 kB / 0.9857 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.387, allocations: 0 / 0.9857 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004623/1.388, allocations: 169.3 kB / 0.9859 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.388, allocations: 4 kB / 0.9859 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.388, allocations: 4 kB / 0.9859 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.388, allocations: 0 / 0.9859 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/1.388, allocations: 36 kB / 0.9859 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/1.388, allocations: 4 kB / 0.9859 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/1.388, allocations: 11.98 kB / 0.9859 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/1.388, allocations: 8 kB / 0.9859 GB, free: 0.9219 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.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 (14): * Single equations (assignments): 14 * 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.0001959/1.389, allocations: 127.7 kB / 0.9861 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/1.389, allocations: 19.77 kB / 0.9861 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/1.389, allocations: 16.72 kB / 0.9861 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.389, allocations: 4 kB / 0.9861 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/1.389, allocations: 0 / 0.9861 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/1.389, allocations: 3.984 kB / 0.9861 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/1.389, allocations: 229.6 kB / 0.9863 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.389, allocations: 0 / 0.9863 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/1.389, allocations: 27.91 kB / 0.9863 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.389, allocations: 3.953 kB / 0.9863 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/1.389, allocations: 0 / 0.9863 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.389, allocations: 11.94 kB / 0.9864 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.389, allocations: 0 / 0.9864 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/1.39, allocations: 239.3 kB / 0.9866 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/1.39, allocations: 88.92 kB / 0.9867 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/1.39, allocations: 3.953 kB / 0.9867 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/1.39, allocations: 15.98 kB / 0.9867 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/1.39, allocations: 19.97 kB / 0.9867 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/1.39, allocations: 4 kB / 0.9867 GB, free: 28 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001173/1.39, allocations: 107.4 kB / 0.9868 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/1.39, allocations: 0 / 0.9868 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002735/1.391, allocations: 31.94 kB / 0.9868 GB, free: 15.89 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001009/1.392, allocations: 0.7831 MB / 0.9876 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00038/1.392, allocations: 120.2 kB / 0.9877 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.392, allocations: 0 / 0.9877 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/1.392, allocations: 68.06 kB / 0.9878 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/1.392, allocations: 11.95 kB / 0.9878 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/1.395, allocations: 1.258 MB / 0.989 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006878/1.396, allocations: 0.7201 MB / 0.9897 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001692/1.396, allocations: 16.64 kB / 0.9898 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/1.396, allocations: 47.42 kB / 0.9898 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of SimCode: time 1.282e-06/1.396, allocations: 0 / 0.9898 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/1.422, allocations: 2.479 MB / 0.9922 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003716/1.423, allocations: 244.6 kB / 0.9925 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/4.366, allocations: 2.031 kB / 0.9925 GB, free: 10.27 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat