Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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.001243/0.001243, allocations: 108 kB / 15.61 MB, free: 152 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.001273/0.001273, allocations: 196 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.081/2.081, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.89 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4798, allocations: 140.4 MB / 0.9498 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001868/0.4817, allocations: 0.9955 MB / 0.9507 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007288/0.4825, allocations: 0.9614 MB / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.4825, allocations: 2.406 kB / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.4826, allocations: 15.8 kB / 0.9517 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.191e-05/0.4827, allocations: 33.81 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.4829, allocations: 57.89 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.483, allocations: 158.6 kB / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.4831, allocations: 85.48 kB / 0.952 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.4833, allocations: 71.48 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.4833, allocations: 71.16 kB / 0.9522 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.4834, allocations: 20.84 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.198e-05/0.4834, allocations: 15.12 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.4834, allocations: 37.28 kB / 0.9522 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.4835, allocations: 64.67 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.4836, allocations: 201.8 kB / 0.9525 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4836, allocations: 3.984 kB / 0.9525 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4836, allocations: 0 / 0.9525 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4836, allocations: 5.062 kB / 0.9525 GB, free: 6.957 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004782/0.4841, allocations: 449.3 kB / 0.9529 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.4842, allocations: 9.75 kB / 0.9529 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.4842, allocations: 46.45 kB / 0.953 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.4842, allocations: 17.59 kB / 0.953 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.4846, allocations: 248 kB / 0.9532 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4846, allocations: 12.12 kB / 0.9532 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.4846, allocations: 16.41 kB / 0.9533 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.4849, allocations: 148.3 kB / 0.9534 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4849, allocations: 1.438 kB / 0.9534 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.4849, allocations: 9.469 kB / 0.9534 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4849, allocations: 3.438 kB / 0.9534 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.4852, allocations: 113.4 kB / 0.9535 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.4857, allocations: 480.2 kB / 0.954 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.4859, allocations: 102.8 kB / 0.9541 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.486, allocations: 57.41 kB / 0.9541 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.4861, allocations: 1.281 kB / 0.9541 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.062e-05/0.4861, allocations: 31.91 kB / 0.9542 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.4861, allocations: 0 / 0.9542 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004553/0.4865, allocations: 167 kB / 0.9543 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.4866, allocations: 61.98 kB / 0.9544 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.4867, allocations: 147.6 kB / 0.9545 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.4867, allocations: 29.7 kB / 0.9545 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.4867, allocations: 131 kB / 0.9547 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.4867, allocations: 27.94 kB / 0.9547 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.4868, allocations: 33.77 kB / 0.9547 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.4868, allocations: 329.6 kB / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.487, allocations: 46.3 kB / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.4871, allocations: 66 kB / 0.9552 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.4874, allocations: 108.9 kB / 0.9553 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4874, allocations: 5.438 kB / 0.9553 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003024/0.4877, allocations: 142.8 kB / 0.9554 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4877, allocations: 6.125 kB / 0.9554 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4877, allocations: 4.094 kB / 0.9554 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4877, allocations: 2.969 kB / 0.9554 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.4879, allocations: 29.41 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4879, allocations: 1.406 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.436e-05/0.488, allocations: 18.97 kB / 0.9555 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.488, allocations: 8.266 kB / 0.9555 GB, free: 4.363 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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 6.762e-05/0.4881, allocations: 127.2 kB / 0.9556 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.4881, allocations: 16.12 kB / 0.9556 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.4881, allocations: 15.41 kB / 0.9556 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4881, allocations: 1.031 kB / 0.9556 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4882, allocations: 1.438 kB / 0.9556 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4882, allocations: 7.922 kB / 0.9556 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.4883, allocations: 233.1 kB / 0.9559 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4883, allocations: 0 / 0.9559 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.4885, allocations: 26.41 kB / 0.9559 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4885, allocations: 0.8125 kB / 0.9559 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.4885, allocations: 1.031 kB / 0.9559 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4885, allocations: 5.938 kB / 0.9559 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4885, allocations: 0 / 0.9559 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.4888, allocations: 228.1 kB / 0.9561 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.4888, allocations: 88.33 kB / 0.9562 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4888, allocations: 5.094 kB / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4889, allocations: 12.95 kB / 0.9562 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.489, allocations: 22.55 kB / 0.9562 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.489, allocations: 6.969 kB / 0.9562 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.4891, allocations: 110.3 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4891, allocations: 0 / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002315/0.4893, allocations: 25.47 kB / 0.9564 GB, free: 3.531 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004727/0.4898, allocations: 0.7643 MB / 0.9571 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.4901, allocations: 121 kB / 0.9572 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4901, allocations: 192 / 0.9572 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.4903, allocations: 54.08 kB / 0.9573 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.4905, allocations: 24 kB / 0.9573 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.4921, allocations: 1.706 MB / 0.959 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.4922, allocations: 0.711 MB / 0.9597 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.005e-05/0.4923, allocations: 20.39 kB / 0.9597 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.4923, allocations: 48.36 kB / 0.9597 GB, free: 480 kB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.4923, allocations: 0 / 0.9597 GB, free: 480 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2915/0.7838, allocations: 2.67 MB / 0.9623 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/8.468, allocations: 17.19 kB / 0.9623 GB, free: 15.14 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches