Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007669/0.007669, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001319/0.001319, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.751/2.751, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001978, allocations: 59.91 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9797/0.9817, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002752/0.9845, allocations: 1.012 MB / 1.167 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.986, allocations: 0.9713 MB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.79e-05/0.9861, allocations: 0 / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.966e-05/0.9861, allocations: 19.75 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.9863, allocations: 23.8 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.9865, allocations: 71.86 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.9867, allocations: 155.6 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.9869, allocations: 84.19 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.987, allocations: 63.72 kB / 1.169 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.9871, allocations: 71.69 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.9872, allocations: 20 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/0.9872, allocations: 16 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.9872, allocations: 35.89 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.9873, allocations: 71.61 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.9876, allocations: 205.4 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.9876, allocations: 0 / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9876, allocations: 0 / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.9876, allocations: 4 kB / 1.169 GB, free: 0.9648 MB / 0.8887 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.0006553/0.9883, allocations: 443.2 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.9884, allocations: 8.031 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.9885, allocations: 50.73 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.9885, allocations: 16.75 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.989, allocations: 256.2 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.989, allocations: 8.656 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.989, allocations: 12.38 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.9894, allocations: 145 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.9894, allocations: 11.86 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.9894, allocations: 4 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.9895, allocations: 7.938 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.9898, allocations: 112.8 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.9905, allocations: 472.1 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.9908, allocations: 106.5 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.9909, allocations: 48.89 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.9909, allocations: 0 / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.991, allocations: 46.56 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.991, allocations: 0 / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0005876/0.9916, allocations: 169.3 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.9916, allocations: 59.34 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.9918, allocations: 153.1 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.9919, allocations: 25.7 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.992, allocations: 123.8 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.992, allocations: 23.66 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.9921, allocations: 41.69 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.9923, allocations: 322.8 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.9924, allocations: 39.95 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.9926, allocations: 71.41 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.9929, allocations: 107.2 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9929, allocations: 0 / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003538/0.9932, allocations: 153.4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.9933, allocations: 4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.9933, allocations: 4 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.9933, allocations: 0 / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.9935, allocations: 31.91 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.9935, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.9936, allocations: 24.02 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.9936, allocations: 4 kB / 1.172 GB, free: 13.66 MB / 0.9044 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 0.0001151/0.9937, allocations: 125.8 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.9938, allocations: 11.81 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.9938, allocations: 16.72 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.9938, allocations: 0 / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.9938, allocations: 3.938 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.9938, allocations: 3.984 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.9942, allocations: 233.5 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.9942, allocations: 4 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.9943, allocations: 23.97 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.9943, allocations: 0 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.9943, allocations: 4 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9943, allocations: 0 / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9943, allocations: 4 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.9947, allocations: 231.7 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.894e-05/0.9948, allocations: 96.88 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.9948, allocations: 7.938 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.9949, allocations: 7.984 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.995, allocations: 15.98 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.995, allocations: 7.984 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.459e-05/0.9951, allocations: 112.9 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9951, allocations: 3.938 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002566/0.9954, allocations: 23.91 kB / 1.173 GB, free: 12.65 MB / 0.9044 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.0006886/0.9961, allocations: 0.7631 MB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.9964, allocations: 111.8 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9965, allocations: 0 / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.9966, allocations: 55.89 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.997, allocations: 27.8 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.9992, allocations: 1.716 MB / 1.175 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.9995, allocations: 0.7161 MB / 1.176 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.356e-05/0.9996, allocations: 16.64 kB / 1.176 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.9997, allocations: 47.42 kB / 1.176 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.9997, allocations: 0 / 1.176 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/1.022, allocations: 2.724 MB / 1.179 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/9.429, allocations: 19.67 kB / 1.179 GB, free: 6.516 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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