Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.009723/0.009723, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.001688/0.001688, allocations: 194.4 kB / 16.67 MB, free: 5.949 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.74/2.74, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.89 kB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3457, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00265/0.3484, allocations: 1.014 MB / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.3499, allocations: 0.9757 MB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.35, allocations: 4 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.451e-05/0.3501, allocations: 19.73 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.3503, allocations: 19.81 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.3506, allocations: 67.86 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.3508, allocations: 164 kB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.3511, allocations: 92.16 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.3513, allocations: 67.7 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.3514, allocations: 75.69 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.3515, allocations: 20 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.585e-05/0.3515, allocations: 16 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.3516, allocations: 43.83 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.459e-05/0.3517, allocations: 67.61 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.3519, allocations: 219.4 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.352, allocations: 0 / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.034e-06/0.352, allocations: 0 / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.352, allocations: 0 / 1.21 GB, free: 7.223 MB / 0.9669 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.0008017/0.3528, allocations: 450.9 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.3528, allocations: 12.03 kB / 1.211 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.3529, allocations: 50.67 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.353, allocations: 16.75 kB / 1.211 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.3534, allocations: 261.7 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.3535, allocations: 12.38 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3535, allocations: 12.38 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.3539, allocations: 158.5 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3539, allocations: 3.938 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.3539, allocations: 8 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3539, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.3543, allocations: 111.9 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/0.355, allocations: 492 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.3553, allocations: 114.6 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.3555, allocations: 52.83 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.3555, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3555, allocations: 38.55 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 8.61e-07/0.3555, allocations: 0 / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0005754/0.3561, allocations: 173.5 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.3562, allocations: 55.34 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3563, allocations: 152.8 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3563, allocations: 33.64 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.3564, allocations: 128.2 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.3565, allocations: 31.55 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.3566, allocations: 45.69 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3568, allocations: 318.8 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.3569, allocations: 43.95 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.3571, allocations: 75.39 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.3574, allocations: 107.3 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3574, allocations: 0 / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004123/0.3579, allocations: 165.6 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3579, allocations: 9.406 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3579, allocations: 0 / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3579, allocations: 0 / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3581, allocations: 27.97 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3581, allocations: 0 / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3582, allocations: 27.92 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.3583, allocations: 4 kB / 1.213 GB, free: 3.836 MB / 0.9669 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 0.000172/0.3585, allocations: 135.8 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.3585, allocations: 11.91 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.3586, allocations: 16.7 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3586, allocations: 4 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3586, allocations: 0 / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3586, allocations: 0 / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.3589, allocations: 237.5 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3589, allocations: 4 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.359, allocations: 19.98 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.359, allocations: 0 / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.359, allocations: 0 / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/0.359, allocations: 4 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.359, allocations: 7.875 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.3594, allocations: 235.2 kB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.3595, allocations: 92.94 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.3595, allocations: 4 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3597, allocations: 7.984 kB / 1.214 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.3597, allocations: 15.98 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.3598, allocations: 4 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.08e-05/0.3598, allocations: 115.2 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3599, allocations: 0 / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002512/0.3601, allocations: 27.91 kB / 1.214 GB, free: 2.816 MB / 0.9669 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.0007256/0.3608, allocations: 0.7708 MB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003938/0.3613, allocations: 115.9 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3613, allocations: 0 / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.3615, allocations: 67.83 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3618, allocations: 11.94 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.3642, allocations: 1.756 MB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3645, allocations: 0.7123 MB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.676e-05/0.3646, allocations: 17.08 kB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.3647, allocations: 47.42 kB / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3647, allocations: 0 / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.387, allocations: 2.809 MB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.187, allocations: 16.81 kB / 1.22 GB, free: 12.56 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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