Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.007145/0.007145, allocations: 103 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.001836/0.001836, allocations: 190 kB / 16.67 MB, free: 5.965 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.317/1.317, 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 11.0.1-master/package.mo): time 2.605/2.605, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 64.14 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3046, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002316/0.3069, allocations: 0.9982 MB / 1.208 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3084, allocations: 0.9796 MB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.3085, allocations: 4 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.461e-05/0.3086, allocations: 19.73 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.3088, allocations: 15.8 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.309, allocations: 67.88 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3093, allocations: 168 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.3095, allocations: 92.16 kB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3097, allocations: 67.72 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.3098, allocations: 75.67 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/0.3098, allocations: 20 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.882e-05/0.3099, allocations: 16 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.3099, allocations: 39.84 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.31, allocations: 71.61 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.3102, allocations: 215.3 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.3103, allocations: 4 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3103, allocations: 3.938 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3103, allocations: 0 / 1.21 GB, free: 7.262 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.0006968/0.311, allocations: 446.9 kB / 1.21 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.311, allocations: 12.03 kB / 1.211 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.711e-05/0.3111, allocations: 50.73 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.3112, allocations: 16.75 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.3116, allocations: 257 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.3116, allocations: 16.38 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.3117, allocations: 16.31 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.312, allocations: 154.5 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.312, allocations: 3.938 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.312, allocations: 8 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3121, allocations: 0 / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.3124, allocations: 115.9 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.313, allocations: 484 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.3133, allocations: 122.7 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.3135, allocations: 60.77 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3135, allocations: 0 / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3136, allocations: 34.55 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.3136, allocations: 0 / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0005029/0.3141, allocations: 177.5 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.3141, allocations: 51.41 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3142, allocations: 152.2 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3143, allocations: 29.7 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.3143, allocations: 128.1 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.3144, allocations: 31.56 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.3144, allocations: 37.7 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3146, allocations: 326.8 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3147, allocations: 47.95 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.3148, allocations: 67.41 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.3151, allocations: 119.7 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3151, allocations: 0 / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003369/0.3155, allocations: 161.2 kB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3155, allocations: 8 kB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.3155, allocations: 4.094 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3155, allocations: 0 / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.3157, allocations: 27.97 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3157, allocations: 0 / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.3158, allocations: 19.83 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.3158, allocations: 8 kB / 1.213 GB, free: 3.871 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.0001041/0.3159, allocations: 132.2 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.316, allocations: 15.91 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.316, allocations: 16.7 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.316, allocations: 4 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3161, allocations: 0 / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3161, allocations: 0 / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.3163, allocations: 233.5 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3163, allocations: 0 / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.3164, allocations: 23.98 kB / 1.214 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3164, allocations: 0 / 1.214 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3164, allocations: 0 / 1.214 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3165, allocations: 12 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3165, allocations: 0 / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.3168, allocations: 239.1 kB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.3169, allocations: 92.94 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.3169, allocations: 0 / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.317, allocations: 11.98 kB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.3171, allocations: 19.98 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.3171, allocations: 4 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.018e-05/0.3172, allocations: 111.2 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3172, allocations: 0 / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002543/0.3174, allocations: 27.91 kB / 1.214 GB, free: 2.852 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.0006008/0.318, allocations: 0.7708 MB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.3184, allocations: 107.9 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3184, allocations: 0 / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3185, allocations: 72.02 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.3188, allocations: 23.88 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.3207, allocations: 1.745 MB / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.321, allocations: 0.7162 MB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.567e-05/0.3211, allocations: 21.06 kB / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.3212, allocations: 49.14 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3212, allocations: 0 / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.3403, allocations: 2.804 MB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.476, allocations: 10.55 kB / 1.22 GB, free: 12.59 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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