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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007385/0.007385, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001813/0.001813, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 70.09 kB / 0.9504 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2296, allocations: 140.4 MB / 1.088 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.00204/0.2317, allocations: 0.9915 MB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2327, allocations: 0.9635 MB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/0.2328, allocations: 4 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.025e-05/0.2329, allocations: 19.73 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.233, allocations: 27.8 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.2332, allocations: 63.88 kB / 1.09 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.2334, allocations: 163.6 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.2336, allocations: 80.19 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.2337, allocations: 71.7 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.2338, allocations: 71.67 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.2339, allocations: 16 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.077e-05/0.2339, allocations: 20 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.2339, allocations: 35.86 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.21e-05/0.234, allocations: 67.59 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.2342, allocations: 211.3 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2342, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2342, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.2342, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 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.0005916/0.2348, allocations: 452.9 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2349, allocations: 15.97 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.2349, allocations: 50.73 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.235, allocations: 16.84 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.2354, allocations: 252.2 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2354, allocations: 12.66 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.2354, allocations: 12.38 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.2358, allocations: 151.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.2358, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.2358, allocations: 8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2358, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.2361, allocations: 112.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.2367, allocations: 468.2 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.237, allocations: 106.6 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.2372, allocations: 52.86 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.2372, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2372, allocations: 30.56 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 2.254e-06/0.2372, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005255/0.2378, allocations: 177.4 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.2378, allocations: 51.41 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.2379, allocations: 154.3 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2379, allocations: 29.7 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.238, allocations: 123.9 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.238, allocations: 35.73 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.2381, allocations: 33.7 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.2382, allocations: 326.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.2384, allocations: 43.97 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.2385, allocations: 71.33 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.2388, allocations: 107.3 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2388, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003525/0.2392, allocations: 145.9 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2392, allocations: 13.7 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2392, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2392, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2394, allocations: 31.92 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2394, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.2395, allocations: 23.8 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2395, allocations: 4.094 kB / 1.093 GB, free: 11.99 MB / 0.8575 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 (reaToInt2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/0.2396, allocations: 133.8 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.2397, allocations: 11.91 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.2397, allocations: 20.7 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2397, allocations: 3.938 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2397, allocations: 4 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2397, allocations: 3.938 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.24, allocations: 229.6 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.24, allocations: 0 / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.2401, allocations: 19.98 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2401, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2401, allocations: 4 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2401, allocations: 4 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2401, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.2405, allocations: 243.2 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.2406, allocations: 89.05 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2406, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.2407, allocations: 8 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.2408, allocations: 19.97 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.2408, allocations: 7.938 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.156e-05/0.2409, allocations: 107.2 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2409, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002575/0.2411, allocations: 31.89 kB / 1.094 GB, free: 10.97 MB / 0.8575 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 (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.0005896/0.2417, allocations: 0.767 MB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.2421, allocations: 111.8 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2421, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.2423, allocations: 51.97 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.2426, allocations: 21.34 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.2445, allocations: 1.72 MB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.2447, allocations: 0.7161 MB / 1.097 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.037e-05/0.2448, allocations: 20.62 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.2449, allocations: 47.42 kB / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2449, allocations: 0 / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.2624, allocations: 2.722 MB / 1.1 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/8.803, allocations: 11 kB / 1.1 GB, free: 4.852 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches