Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_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.001241/0.001241, allocations: 108 kB / 15.6 MB, free: 132 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.001166/0.001166, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.509/2.509, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 67.55 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2346, allocations: 159.2 MB / 1.064 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002646/0.2372, allocations: 1.427 MB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2386, allocations: 1.092 MB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.2387, allocations: 8 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.925e-05/0.2388, allocations: 35.53 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.239, allocations: 31.59 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.2392, allocations: 123.8 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.2396, allocations: 340.6 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.2399, allocations: 225.9 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.2401, allocations: 131.5 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.2403, allocations: 147.2 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.2403, allocations: 40 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.225e-05/0.2404, allocations: 36 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.2404, allocations: 91.73 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.2406, allocations: 155.1 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.241, allocations: 466.7 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.241, allocations: 0 / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.241, allocations: 0 / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.241, allocations: 0 / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0007885/0.2418, allocations: 0.5891 MB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2418, allocations: 8.031 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.232e-05/0.2419, allocations: 78.66 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.242, allocations: 36.47 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.2425, allocations: 329.4 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.2425, allocations: 25.38 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.2426, allocations: 32.38 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.2431, allocations: 295.1 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2431, allocations: 11.94 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.2432, allocations: 12 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2432, allocations: 8 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.2437, allocations: 239.9 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.2448, allocations: 0.825 MB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.2452, allocations: 243.5 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.2455, allocations: 117.3 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.2455, allocations: 8.234 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.2455, allocations: 30.8 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.352e-06/0.2455, allocations: 3.938 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007114/0.2463, allocations: 313.2 kB / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.2463, allocations: 59.34 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.2465, allocations: 223.5 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2465, allocations: 25.7 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2466, allocations: 176.2 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.2467, allocations: 82.84 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.2468, allocations: 61.97 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2469, allocations: 334.8 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.2471, allocations: 76.52 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.2474, allocations: 143.9 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.2478, allocations: 220.3 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2478, allocations: 0 / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005044/0.2483, allocations: 277.1 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2483, allocations: 9.344 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2483, allocations: 4 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2484, allocations: 7.938 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.2486, allocations: 55.89 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2486, allocations: 7.938 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.2487, allocations: 31.95 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.2488, allocations: 12 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (34): * Single equations (assignments): 34 * 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.0001489/0.2489, allocations: 149.8 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.249, allocations: 19.81 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005192/0.2495, allocations: 252 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2495, allocations: 4 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2495, allocations: 0 / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2495, allocations: 3.984 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.2499, allocations: 349.3 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2499, allocations: 3.938 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.2501, allocations: 35.97 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2501, allocations: 4 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.2501, allocations: 7.938 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.2501, allocations: 7.984 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2501, allocations: 4 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.2506, allocations: 335.5 kB / 1.074 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.2507, allocations: 96.77 kB / 1.074 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.2507, allocations: 11.94 kB / 1.074 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.2508, allocations: 19.98 kB / 1.074 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.2509, allocations: 23.97 kB / 1.074 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.2509, allocations: 8 kB / 1.074 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.734e-05/0.251, allocations: 137.5 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.251, allocations: 0 / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002835/0.2513, allocations: 63.69 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0007784/0.2521, allocations: 0.8672 MB / 1.075 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005082/0.2526, allocations: 240 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2526, allocations: 4 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.2528, allocations: 116.8 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.2531, allocations: 23.98 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.2559, allocations: 2.403 MB / 1.078 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.2562, allocations: 0.7674 MB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.2564, allocations: 38.27 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.2565, allocations: 99.39 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.2565, allocations: 0 / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4039/0.6605, allocations: 4.005 MB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.745, allocations: 9.953 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches