Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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.001319/0.001319, 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.0009279/0.0009279, allocations: 194.3 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.184/1.184, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.043/2.043, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 0.8127 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4696, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001787/0.4714, allocations: 0.9959 MB / 0.9508 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.4721, allocations: 0.9657 MB / 0.9517 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.4722, allocations: 5.531 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.4722, allocations: 19.73 kB / 0.9517 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.4723, allocations: 18.23 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.4725, allocations: 64.72 kB / 0.9518 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.4726, allocations: 156.4 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.4728, allocations: 88.7 kB / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.4729, allocations: 68.55 kB / 0.9521 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.473, allocations: 74.94 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.473, allocations: 16.75 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/0.473, allocations: 15.09 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.473, allocations: 32.59 kB / 0.9522 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.4731, allocations: 73.12 kB / 0.9523 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.4732, allocations: 197.6 kB / 0.9525 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.4732, allocations: 0 / 0.9525 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4732, allocations: 1.344 kB / 0.9525 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.4733, allocations: 7.984 kB / 0.9525 GB, free: 7.027 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.0004688/0.4737, allocations: 445.5 kB / 0.9529 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.4738, allocations: 9.406 kB / 0.9529 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.4738, allocations: 46.92 kB / 0.953 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.4738, allocations: 16.84 kB / 0.953 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.4742, allocations: 249.2 kB / 0.9532 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4742, allocations: 14.72 kB / 0.9532 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.4742, allocations: 12.72 kB / 0.9533 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.4745, allocations: 149.3 kB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4745, allocations: 0 / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4745, allocations: 5.125 kB / 0.9534 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4745, allocations: 3.312 kB / 0.9534 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.4748, allocations: 118 kB / 0.9535 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.4753, allocations: 477.1 kB / 0.954 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.4755, allocations: 111.3 kB / 0.9541 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.4756, allocations: 52.47 kB / 0.9541 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.4757, allocations: 1.094 kB / 0.9541 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.4757, allocations: 36.94 kB / 0.9542 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.4757, allocations: 0 / 0.9542 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004582/0.4761, allocations: 166.8 kB / 0.9543 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.4762, allocations: 56.59 kB / 0.9544 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.4763, allocations: 153.3 kB / 0.9545 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.4763, allocations: 29.7 kB / 0.9546 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.4763, allocations: 122.7 kB / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.4763, allocations: 28.34 kB / 0.9547 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.4764, allocations: 42.36 kB / 0.9547 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.431e-05/0.4764, allocations: 325.1 kB / 0.955 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.4766, allocations: 50.05 kB / 0.9551 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.4767, allocations: 62.41 kB / 0.9552 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.4769, allocations: 113.6 kB / 0.9553 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.477, allocations: 0 / 0.9553 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000298/0.4773, allocations: 147.8 kB / 0.9554 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.4773, allocations: 7.219 kB / 0.9554 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4773, allocations: 5.219 kB / 0.9554 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.4773, allocations: 1.438 kB / 0.9554 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.4774, allocations: 26.03 kB / 0.9554 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.4775, allocations: 1.438 kB / 0.9554 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.677e-05/0.4776, allocations: 22.69 kB / 0.9555 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.4776, allocations: 7.953 kB / 0.9555 GB, free: 4.434 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.315e-05/0.4776, allocations: 136.3 kB / 0.9556 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.4777, allocations: 7.938 kB / 0.9556 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.4777, allocations: 11.53 kB / 0.9556 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4777, allocations: 1.312 kB / 0.9556 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.4777, allocations: 0 / 0.9556 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.4777, allocations: 5.219 kB / 0.9556 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.4779, allocations: 233.4 kB / 0.9559 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4779, allocations: 0 / 0.9559 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.478, allocations: 22.08 kB / 0.9559 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.478, allocations: 7.922 kB / 0.9559 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.478, allocations: 5.188 kB / 0.9559 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.478, allocations: 1.094 kB / 0.9559 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.478, allocations: 0 / 0.9559 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.4783, allocations: 231.8 kB / 0.9561 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.4783, allocations: 92.52 kB / 0.9562 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.4784, allocations: 4 kB / 0.9562 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4785, allocations: 11.48 kB / 0.9562 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.4785, allocations: 15.17 kB / 0.9562 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.4785, allocations: 11.78 kB / 0.9562 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.4786, allocations: 106.6 kB / 0.9563 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4786, allocations: 1 kB / 0.9563 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002279/0.4788, allocations: 24.78 kB / 0.9564 GB, free: 3.605 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.0004394/0.4793, allocations: 0.7689 MB / 0.9571 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.4796, allocations: 113.6 kB / 0.9572 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4796, allocations: 0 / 0.9572 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.4797, allocations: 61.39 kB / 0.9573 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.48, allocations: 17.78 kB / 0.9573 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.4815, allocations: 1.714 MB / 0.959 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.623e-05/0.4816, allocations: 0.7153 MB / 0.9597 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.908e-05/0.4817, allocations: 19.84 kB / 0.9597 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.4817, allocations: 48.39 kB / 0.9597 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.4818, allocations: 0 / 0.9597 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4724/0.9542, allocations: 2.663 MB / 0.9623 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.78, allocations: 15.12 kB / 0.9623 GB, free: 15.21 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches