Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_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.001136/0.001136, allocations: 99.62 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.001263/0.001263, 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.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.342/2.342, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.00037, allocations: 12 kB / 0.8147 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.8213, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001249/0.8226, allocations: 0.6692 MB / 0.9543 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.8239, allocations: 0.9583 MB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.8241, allocations: 2.812 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.8241, allocations: 11.86 kB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.8242, allocations: 14.84 kB / 0.9553 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.8245, allocations: 53.8 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.8246, allocations: 88.25 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.8248, allocations: 62.42 kB / 0.9555 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.825, allocations: 47.67 kB / 0.9555 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.8251, allocations: 49.95 kB / 0.9556 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.8251, allocations: 4.531 kB / 0.9556 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.184e-05/0.8252, allocations: 4.688 kB / 0.9556 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.8252, allocations: 24.25 kB / 0.9556 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.8252, allocations: 47.77 kB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.8254, allocations: 143.6 kB / 0.9558 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.8254, allocations: 0 / 0.9558 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8254, allocations: 0 / 0.9558 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.8254, allocations: 1.438 kB / 0.9558 GB, free: 6.387 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005956/0.826, allocations: 431.1 kB / 0.9562 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.8261, allocations: 13.19 kB / 0.9562 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.8262, allocations: 46.8 kB / 0.9562 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.8262, allocations: 20.39 kB / 0.9563 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.8267, allocations: 253.9 kB / 0.9565 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.8267, allocations: 10.38 kB / 0.9565 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.8268, allocations: 20.59 kB / 0.9565 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.8271, allocations: 148.9 kB / 0.9567 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.8271, allocations: 0 / 0.9567 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.8271, allocations: 9.328 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.8271, allocations: 3.125 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.8275, allocations: 124 kB / 0.9568 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.8281, allocations: 476.4 kB / 0.9573 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.8284, allocations: 104.5 kB / 0.9574 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.8285, allocations: 1.031 kB / 0.9574 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.8285, allocations: 35.69 kB / 0.9574 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.8285, allocations: 0 / 0.9574 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005372/0.829, allocations: 195.1 kB / 0.9576 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.8291, allocations: 54.72 kB / 0.9576 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.8292, allocations: 155.2 kB / 0.9578 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.8292, allocations: 26.8 kB / 0.9578 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.8293, allocations: 123.4 kB / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.8293, allocations: 30.73 kB / 0.9579 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.8293, allocations: 1.062 kB / 0.9579 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.24e-05/0.8294, allocations: 326.2 kB / 0.9583 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.8295, allocations: 47.19 kB / 0.9583 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.8297, allocations: 82.23 kB / 0.9584 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.8299, allocations: 43.95 kB / 0.9584 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8299, allocations: 1.844 kB / 0.9584 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003392/0.8302, allocations: 164.6 kB / 0.9586 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.8302, allocations: 6.25 kB / 0.9586 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8302, allocations: 1.5 kB / 0.9586 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.8303, allocations: 5.547 kB / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.8304, allocations: 37.12 kB / 0.9586 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.8305, allocations: 1.562 kB / 0.9586 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.8306, allocations: 26.08 kB / 0.9587 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.8306, allocations: 2.75 kB / 0.9587 GB, free: 3.91 MB / 0.7169 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 8.481e-05/0.8307, allocations: 127.4 kB / 0.9588 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.8307, allocations: 12 kB / 0.9588 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.8307, allocations: 23.86 kB / 0.9588 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8307, allocations: 5.234 kB / 0.9588 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8308, allocations: 0 / 0.9588 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.8308, allocations: 0 / 0.9588 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.831, allocations: 230.5 kB / 0.959 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.831, allocations: 0 / 0.959 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.8311, allocations: 24.25 kB / 0.9591 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.8311, allocations: 1.719 kB / 0.9591 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.8311, allocations: 11.94 kB / 0.9591 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8311, allocations: 1.906 kB / 0.9591 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8312, allocations: 3.953 kB / 0.9591 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.8315, allocations: 231.2 kB / 0.9593 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.8315, allocations: 88.77 kB / 0.9594 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.8316, allocations: 0 / 0.9594 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.8317, allocations: 19.77 kB / 0.9594 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.8317, allocations: 18.69 kB / 0.9594 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.8318, allocations: 6.703 kB / 0.9594 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.023e-05/0.8318, allocations: 109.8 kB / 0.9595 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8318, allocations: 4 kB / 0.9595 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002578/0.8321, allocations: 25.81 kB / 0.9596 GB, free: 3.082 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: 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.0005519/0.8327, allocations: 0.7801 MB / 0.9603 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.833, allocations: 123.5 kB / 0.9604 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.833, allocations: 1.375 kB / 0.9604 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.8332, allocations: 62.41 kB / 0.9605 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.8334, allocations: 12.11 kB / 0.9605 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.8349, allocations: 1.255 MB / 0.9617 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.8351, allocations: 0.716 MB / 0.9624 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.496e-05/0.8352, allocations: 21.92 kB / 0.9625 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.8353, allocations: 42.45 kB / 0.9625 GB, free: 468 kB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.8353, allocations: 0 / 0.9625 GB, free: 468 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.8485, allocations: 2.487 MB / 0.9649 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.8488, allocations: 238.6 kB / 0.9652 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.623, allocations: 0 / 0.9652 GB, free: 15.12 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat