Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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.001208/0.001208, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.189/1.189, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.397/2.397, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 64.72 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2589, allocations: 157.4 MB / 1.053 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002069/0.261, allocations: 1.008 MB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.2619, allocations: 0.9912 MB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.2619, allocations: 0 / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.466e-05/0.262, allocations: 15.8 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.2621, allocations: 19.75 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.2623, allocations: 63.92 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.2624, allocations: 168 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2626, allocations: 88.17 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.2627, allocations: 67.72 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/0.2628, allocations: 67.69 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.2628, allocations: 16 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.626e-05/0.2629, allocations: 20 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.2629, allocations: 47.77 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.263, allocations: 71.59 kB / 1.056 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.2631, allocations: 207.5 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2632, allocations: 4 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2632, allocations: 0 / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2632, allocations: 0 / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005393/0.2637, allocations: 446.9 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2637, allocations: 8.625 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.2638, allocations: 50.73 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.2638, allocations: 16.75 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.2642, allocations: 264.9 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2642, allocations: 8.375 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2643, allocations: 16.38 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.2645, allocations: 150.5 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2646, allocations: 3.938 kB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2646, allocations: 4 kB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2646, allocations: 7.938 kB / 1.057 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.2649, allocations: 127.8 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.2655, allocations: 480.2 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.2657, allocations: 118.6 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.2659, allocations: 56.83 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.2659, allocations: 0 / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.2659, allocations: 38.56 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.2659, allocations: 0 / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0004884/0.2664, allocations: 177.3 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.2665, allocations: 51.41 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2666, allocations: 156.8 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2666, allocations: 25.7 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.2667, allocations: 124.2 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.2667, allocations: 39.47 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.2668, allocations: 41.7 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.2668, allocations: 326.7 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.267, allocations: 43.97 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2671, allocations: 75.39 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.2674, allocations: 111.2 kB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2674, allocations: 0 / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003243/0.2678, allocations: 149.5 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2678, allocations: 8 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2678, allocations: 0 / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2678, allocations: 0 / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2679, allocations: 27.92 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.268, allocations: 0 / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.2681, allocations: 27.92 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2681, allocations: 4 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.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 (15): * Single equations (assignments): 15 * 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.573e-05/0.2682, allocations: 133.8 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.2682, allocations: 11.91 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.2682, allocations: 12.72 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2682, allocations: 4 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.2682, allocations: 0 / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2683, allocations: 0 / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.2685, allocations: 241.4 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2685, allocations: 0 / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.2686, allocations: 27.91 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2686, allocations: 0 / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2686, allocations: 0 / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2686, allocations: 4 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2686, allocations: 3.984 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.269, allocations: 235.8 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.269, allocations: 92.86 kB / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.269, allocations: 4 kB / 1.06 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2692, allocations: 7.984 kB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.2692, allocations: 15.98 kB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2692, allocations: 11.98 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.278e-05/0.2693, allocations: 114.7 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2693, allocations: 3.938 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000227/0.2695, allocations: 28 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0005601/0.2701, allocations: 0.763 MB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003229/0.2704, allocations: 123.7 kB / 1.061 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2704, allocations: 0 / 1.061 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.2706, allocations: 59.98 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.2709, allocations: 28.55 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.2727, allocations: 1.737 MB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2729, allocations: 0.7161 MB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.172e-05/0.273, allocations: 17.08 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.273, allocations: 51.41 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2731, allocations: 0 / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.526/2.799, allocations: 2.716 MB / 1.066 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/11.08, allocations: 12.27 kB / 1.066 GB, free: 10.78 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches