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.007872/0.007872, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001629/0.00163, allocations: 196.4 kB / 16.68 MB, free: 5.957 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.82/1.82, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 59.91 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9971/0.9987, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002651/1.001, allocations: 1.009 MB / 1.088 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001307/1.003, allocations: 0.9646 MB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.813e-05/1.003, allocations: 1.344 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.48e-05/1.003, allocations: 19.42 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/1.003, allocations: 19.39 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/1.003, allocations: 64.25 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/1.003, allocations: 154.5 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/1.004, allocations: 93.56 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/1.004, allocations: 65.16 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/1.004, allocations: 75.62 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/1.004, allocations: 15.44 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.007e-05/1.004, allocations: 16.59 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/1.004, allocations: 37.94 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.24e-05/1.004, allocations: 71.78 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/1.005, allocations: 200.9 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.005, allocations: 0 / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.286e-06/1.005, allocations: 1.094 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.258e-06/1.005, allocations: 0 / 1.09 GB, free: 3.445 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.0007176/1.005, allocations: 455.5 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.005, allocations: 9.25 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/1.005, allocations: 46.88 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/1.005, allocations: 17.06 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/1.006, allocations: 256.3 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/1.006, allocations: 13.97 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/1.006, allocations: 12.88 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/1.006, allocations: 150 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.006, allocations: 0.6094 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/1.006, allocations: 5.062 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.006, allocations: 3.906 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/1.007, allocations: 111.4 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/1.007, allocations: 472.7 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/1.008, allocations: 104.3 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/1.008, allocations: 46.67 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/1.008, allocations: 9.75 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/1.008, allocations: 35.56 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/1.008, allocations: 0 / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005825/1.008, allocations: 165.5 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/1.008, allocations: 53.58 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/1.009, allocations: 159.1 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/1.009, allocations: 29.7 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/1.009, allocations: 119.2 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/1.009, allocations: 30.3 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/1.009, allocations: 39.53 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.426e-05/1.009, allocations: 324.8 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/1.009, allocations: 43.03 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.009, allocations: 69.06 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/1.01, allocations: 111.9 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.01, allocations: 0 / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003594/1.01, allocations: 153.1 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.01, allocations: 5.281 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.01, allocations: 0 / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.01, allocations: 2.219 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/1.01, allocations: 28.53 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.01, allocations: 6.312 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-05/1.01, allocations: 21.64 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/1.01, allocations: 8.922 kB / 1.093 GB, free: 1.145 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 8.159e-05/1.01, allocations: 130.7 kB / 1.093 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/1.01, allocations: 13.12 kB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/1.01, allocations: 12.53 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.01, allocations: 5.812 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.01, allocations: 4.562 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.01, allocations: 5.203 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/1.011, allocations: 227.7 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.011, allocations: 0 / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/1.011, allocations: 23.94 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.011, allocations: 0.8438 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.011, allocations: 1.438 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.011, allocations: 1.312 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.011, allocations: 0.6875 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/1.011, allocations: 236.9 kB / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/1.011, allocations: 92.62 kB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/1.011, allocations: 5.594 kB / 1.094 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/1.011, allocations: 7.984 kB / 1.094 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/1.011, allocations: 19.95 kB / 1.094 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/1.012, allocations: 15.47 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.179e-05/1.012, allocations: 106.4 kB / 1.094 GB, free: 392 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.012, allocations: 0.875 kB / 1.094 GB, free: 392 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002485/1.012, allocations: 21.62 kB / 1.094 GB, free: 388 kB / 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.0006586/1.012, allocations: 0.7708 MB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003912/1.013, allocations: 105.1 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.013, allocations: 1 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/1.013, allocations: 59.06 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/1.013, allocations: 21.44 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/1.016, allocations: 1.71 MB / 1.097 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/1.016, allocations: 0.7141 MB / 1.097 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.1e-05/1.016, allocations: 20.64 kB / 1.097 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-05/1.016, allocations: 49.69 kB / 1.097 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/1.016, allocations: 0 / 1.097 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/1.039, allocations: 2.768 MB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.499/9.538, allocations: 1.406 kB / 1.1 GB, free: 13.07 MB / 0.8731 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/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) "" Variables in the reference:time,actAirSet.uOpeMod,actAirSet.VCooMax_flow,actAirSet.VOccMin_flow,actAirSet.VActCooMax_flow,actAirSet.VActMin_flow Variables in the result:actAirSet.VActCooMax_flow,actAirSet.VActMin_flow,actAirSet.VCooMax_flow,actAirSet.VOccMin_flow,actAirSet.uOpeMod,minFlo.amplitude,minFlo.freqHz,minFlo.offset,minFlo.phase,minFlo.startTime,minFlo.y,opeMod.duration,opeMod.height,opeMod.offset,opeMod.startTime,opeMod.y,reaToInt2.u,reaToInt2.y,round2.n,round2.u,round2.y,time