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.001193/0.001193, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001178/0.001178, allocations: 196.7 kB / 16.25 MB, free: 6.625 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.179/1.179, allocations: 222.9 MB / 239.9 MB, free: 4.418 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.109/2.109, allocations: 390.3 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.88 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5825/0.5838, allocations: 140.4 MB / 0.9493 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002092/0.586, allocations: 1.046 MB / 0.9503 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009517/0.587, allocations: 0.9743 MB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.5871, allocations: 2.625 kB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.081e-05/0.5871, allocations: 7.922 kB / 0.9513 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.5873, allocations: 10 kB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.5875, allocations: 60.55 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.5876, allocations: 156.7 kB / 0.9515 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.5878, allocations: 88.3 kB / 0.9516 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.5879, allocations: 64.27 kB / 0.9516 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/0.588, allocations: 78.69 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.5881, allocations: 16.5 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.457e-05/0.5881, allocations: 16.5 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.5881, allocations: 28.05 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.5882, allocations: 77.33 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.5884, allocations: 201.9 kB / 0.952 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.5884, allocations: 0 / 0.952 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5884, allocations: 0 / 0.952 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.5884, allocations: 0 / 0.952 GB, free: 6.902 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.0005806/0.589, allocations: 446.2 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.589, allocations: 9.781 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.5891, allocations: 46.77 kB / 0.9525 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.5891, allocations: 16.34 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.5895, allocations: 258.4 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.5895, allocations: 11.28 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.5895, allocations: 17 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.5899, allocations: 140.5 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5899, allocations: 1.281 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.5899, allocations: 5.188 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5899, allocations: 2.625 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.5902, allocations: 121.5 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.5908, allocations: 477.4 kB / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.591, allocations: 102.6 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.5912, allocations: 53.59 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.5912, allocations: 1.219 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.5912, allocations: 43.84 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.784e-06/0.5912, allocations: 3.984 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004918/0.5917, allocations: 160.2 kB / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.5917, allocations: 56.31 kB / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.5919, allocations: 152.5 kB / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.5919, allocations: 27.02 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.5919, allocations: 126.5 kB / 0.9542 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.5919, allocations: 28.19 kB / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.592, allocations: 38.17 kB / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.673e-05/0.592, allocations: 329.4 kB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.5922, allocations: 41.97 kB / 0.9546 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.5923, allocations: 74.77 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.5926, allocations: 108.7 kB / 0.9548 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5926, allocations: 0 / 0.9548 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003255/0.5929, allocations: 151.8 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.593, allocations: 5.656 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.593, allocations: 1.688 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.593, allocations: 1.312 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.5931, allocations: 25.95 kB / 0.955 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5932, allocations: 6.078 kB / 0.955 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.644e-05/0.5933, allocations: 26.25 kB / 0.955 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.5933, allocations: 3.906 kB / 0.955 GB, free: 4.305 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 7.493e-05/0.5934, allocations: 126.5 kB / 0.9551 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.5934, allocations: 8.594 kB / 0.9551 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.5934, allocations: 14.97 kB / 0.9552 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5934, allocations: 2.094 kB / 0.9552 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5934, allocations: 0 / 0.9552 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5935, allocations: 5.031 kB / 0.9552 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.5936, allocations: 236.5 kB / 0.9554 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5936, allocations: 1.281 kB / 0.9554 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.5938, allocations: 25.2 kB / 0.9554 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5938, allocations: 5.188 kB / 0.9554 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.5938, allocations: 9.297 kB / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5938, allocations: 0 / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5938, allocations: 1.25 kB / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.5941, allocations: 224.5 kB / 0.9557 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.5942, allocations: 84.08 kB / 0.9557 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.5942, allocations: 4.969 kB / 0.9557 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.5943, allocations: 9.391 kB / 0.9557 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.5944, allocations: 14.23 kB / 0.9558 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.5944, allocations: 6.938 kB / 0.9558 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.5945, allocations: 116.1 kB / 0.9559 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5945, allocations: 4 kB / 0.9559 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002578/0.5947, allocations: 29.59 kB / 0.9559 GB, free: 3.48 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.0004822/0.5952, allocations: 0.7618 MB / 0.9567 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.5956, allocations: 114.9 kB / 0.9568 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5956, allocations: 0 / 0.9568 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.5957, allocations: 62.59 kB / 0.9568 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.596, allocations: 16.91 kB / 0.9568 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.5977, allocations: 1.756 MB / 0.9586 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.5979, allocations: 0.7126 MB / 0.9592 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.84e-05/0.598, allocations: 15.95 kB / 0.9593 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.598, allocations: 48.45 kB / 0.9593 GB, free: 380 kB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.598, allocations: 0 / 0.9593 GB, free: 380 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4512/1.049, allocations: 2.503 MB / 0.9618 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.049, allocations: 263.6 kB / 0.962 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.701, allocations: 3.453 kB / 0.962 GB, free: 14.93 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