Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.007249/0.007249, allocations: 96.78 kB / 15.73 MB, free: 6.059 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.001898/0.001898, allocations: 196.8 kB / 16.68 MB, free: 5.98 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.656/2.656, allocations: 469.4 MB / 0.7422 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2502, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002109/0.2524, allocations: 1.03 MB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2535, allocations: 0.9752 MB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.2536, allocations: 4 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.112e-05/0.2536, allocations: 19.73 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2538, allocations: 27.73 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.254, allocations: 59.94 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.2542, allocations: 172 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.2543, allocations: 92.31 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.2545, allocations: 75.69 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.2546, allocations: 75.56 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.2546, allocations: 16 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.628e-05/0.2547, allocations: 20 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.2547, allocations: 35.91 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.2548, allocations: 71.59 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.255, allocations: 219 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.255, allocations: 7.938 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.255, allocations: 4 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.255, allocations: 0 / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006058/0.2557, allocations: 458.6 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2557, allocations: 8.031 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.2557, allocations: 46.73 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.2558, allocations: 20.8 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.2562, allocations: 269.4 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2563, allocations: 8.375 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.2563, allocations: 16.38 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.2566, allocations: 147.2 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2566, allocations: 3.938 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.2567, allocations: 8 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2567, allocations: 0 / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.257, allocations: 127.8 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.2576, allocations: 492.2 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.2579, allocations: 122.6 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.2581, allocations: 56.81 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.2581, allocations: 4 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.2582, allocations: 30.56 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.2582, allocations: 0 / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005365/0.2587, allocations: 165.5 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.2587, allocations: 67.39 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2589, allocations: 156.2 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.2589, allocations: 25.7 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.259, allocations: 124.3 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.259, allocations: 27.75 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.2591, allocations: 45.62 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.2592, allocations: 326.8 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2593, allocations: 47.97 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.2595, allocations: 74.2 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.2598, allocations: 107.3 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2598, allocations: 0 / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000358/0.2602, allocations: 153.4 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2602, allocations: 4 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2602, allocations: 4 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2602, allocations: 96 / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.2604, allocations: 39.91 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2604, allocations: 0 / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2605, allocations: 11.98 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2605, allocations: 7.938 kB / 1.226 GB, free: 8.328 MB / 0.9825 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.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.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 9.619e-05/0.2606, allocations: 135.9 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.2607, allocations: 11.91 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.2607, allocations: 24.7 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2607, allocations: 0 / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2607, allocations: 8 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2607, allocations: 0 / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.261, allocations: 233.5 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.261, allocations: 3.938 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.2611, allocations: 23.98 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2611, allocations: 0 / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2611, allocations: 3.984 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2611, allocations: 0 / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2611, allocations: 4 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.2615, allocations: 239.3 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.2616, allocations: 85.06 kB / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.2616, allocations: 0 / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.2617, allocations: 11.98 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.2618, allocations: 19.92 kB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.2618, allocations: 4 kB / 1.226 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.139e-05/0.2619, allocations: 116.5 kB / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2619, allocations: 0 / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002579/0.2622, allocations: 27.89 kB / 1.227 GB, free: 7.301 MB / 0.9825 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.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0006252/0.2628, allocations: 0.7793 MB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.2631, allocations: 107.9 kB / 1.227 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2632, allocations: 0 / 1.227 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2633, allocations: 68.08 kB / 1.227 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.2636, allocations: 16.81 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.2656, allocations: 1.753 MB / 1.229 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.2659, allocations: 0.7162 MB / 1.23 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.453e-05/0.266, allocations: 25.06 kB / 1.23 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.2661, allocations: 49.28 kB / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2661, allocations: 0 / 1.23 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.2835, allocations: 2.784 MB / 1.233 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.533, allocations: 11.33 kB / 1.233 GB, free: 1.051 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches