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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.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.0008205/0.0008205, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005168/0.005168, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.212/1.212, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.412/2.412, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 10.09 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2404, allocations: 159.6 MB / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001097/0.2416, allocations: 0.7283 MB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2426, allocations: 0.9635 MB / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.2427, allocations: 0 / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.2427, allocations: 7.922 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.469e-05/0.2428, allocations: 11.88 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.243, allocations: 59.94 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.2432, allocations: 152.1 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.2433, allocations: 84.12 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.2435, allocations: 47.77 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.2436, allocations: 59.64 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.2436, allocations: 4 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.2436, allocations: 4 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.2436, allocations: 27.84 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.2437, allocations: 85.25 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.2439, allocations: 191.5 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2439, allocations: 0 / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2439, allocations: 0 / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2439, allocations: 0 / 1.061 GB, free: 2.344 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.0005289/0.2444, allocations: 423.1 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2445, allocations: 15.97 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.2445, allocations: 50.73 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.2446, allocations: 16.75 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.245, allocations: 263.9 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.245, allocations: 16.38 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.245, allocations: 12.38 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.2453, allocations: 154 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2454, allocations: 3.938 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.2454, allocations: 4 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2454, allocations: 7.938 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.2457, allocations: 135.9 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.2463, allocations: 488 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.2466, allocations: 122.7 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.2467, allocations: 60.77 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2468, allocations: 4 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.2468, allocations: 34.56 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.2468, allocations: 0 / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005189/0.2473, allocations: 193.4 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.2474, allocations: 51.41 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2475, allocations: 161 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2475, allocations: 25.7 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.2476, allocations: 120.2 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.2476, allocations: 31.55 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.2477, allocations: 29.7 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.2477, allocations: 326.8 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.2479, allocations: 51.91 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.2481, allocations: 77.78 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.2484, allocations: 131.6 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2484, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003497/0.2487, allocations: 161.5 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2488, allocations: 13.5 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2488, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2488, allocations: 4.094 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.2489, allocations: 35.91 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.249, allocations: 0 / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2491, allocations: 23.83 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.2491, allocations: 4 kB / 1.064 GB, free: 14.89 MB / 0.8262 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 9.347e-05/0.2492, allocations: 133.8 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.2492, allocations: 11.81 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.2493, allocations: 20.7 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2493, allocations: 0 / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2493, allocations: 0 / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2493, allocations: 0 / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.2495, allocations: 245.5 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2495, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.2496, allocations: 23.92 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2496, allocations: 4 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2497, allocations: 4 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2497, allocations: 4 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2497, allocations: 3.984 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.25, allocations: 243.3 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.2501, allocations: 92.84 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2501, allocations: 8 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.2502, allocations: 11.98 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.2503, allocations: 11.98 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2503, allocations: 4 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.694e-05/0.2504, allocations: 117.2 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2504, allocations: 7.875 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000235/0.2506, allocations: 27.91 kB / 1.065 GB, free: 13.85 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: 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.000582/0.2512, allocations: 0.7762 MB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.2515, allocations: 128 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2516, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2517, allocations: 67.89 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.252, allocations: 23.94 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.2539, allocations: 1.818 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.2542, allocations: 0.72 MB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.701e-05/0.2542, allocations: 17.08 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.2543, allocations: 47.42 kB / 1.069 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2543, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.37/1.624, allocations: 2.411 MB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/1.625, allocations: 271.4 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/3.442, allocations: 0 / 1.071 GB, free: 7.562 MB / 0.8262 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) Reference file matches