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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008495/0.0008495, allocations: 90.83 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.00492/0.00492, allocations: 171.9 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.188/1.188, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.106/2.106, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 12 kB / 0.8161 GB, free: 13.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5296, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.0008762/0.5305, allocations: 0.6872 MB / 0.9559 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.5313, allocations: 0.9704 MB / 0.9569 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.5314, allocations: 6.375 kB / 0.9569 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.5314, allocations: 11.88 kB / 0.9569 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.5315, allocations: 14.23 kB / 0.9569 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.5316, allocations: 53.61 kB / 0.9569 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.5318, allocations: 145.8 kB / 0.9571 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.5319, allocations: 81.89 kB / 0.9572 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.532, allocations: 48.23 kB / 0.9572 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.5321, allocations: 53.77 kB / 0.9573 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.5321, allocations: 3.656 kB / 0.9573 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.5321, allocations: 4.594 kB / 0.9573 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.5321, allocations: 20.25 kB / 0.9573 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.5322, allocations: 80.16 kB / 0.9574 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.5323, allocations: 185.9 kB / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5323, allocations: 0 / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5323, allocations: 0 / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.5324, allocations: 1.438 kB / 0.9575 GB, free: 5.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.0004104/0.5328, allocations: 425.2 kB / 0.9579 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.5328, allocations: 9.469 kB / 0.9579 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.5328, allocations: 43.84 kB / 0.958 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.5329, allocations: 16.81 kB / 0.958 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.5332, allocations: 274.5 kB / 0.9583 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5332, allocations: 14.36 kB / 0.9583 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.5333, allocations: 12.31 kB / 0.9583 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.5335, allocations: 155.2 kB / 0.9584 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.5335, allocations: 0 / 0.9584 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.5336, allocations: 5.5 kB / 0.9584 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5336, allocations: 2.969 kB / 0.9584 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.5339, allocations: 124.9 kB / 0.9586 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.5343, allocations: 473.2 kB / 0.959 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.5346, allocations: 117.1 kB / 0.9591 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.5347, allocations: 55.14 kB / 0.9592 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.5348, allocations: 1.375 kB / 0.9592 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.598e-06/0.5348, allocations: 35.94 kB / 0.9592 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.5348, allocations: 0 / 0.9592 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004805/0.5353, allocations: 190.9 kB / 0.9594 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.576e-05/0.5353, allocations: 54.16 kB / 0.9595 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.5354, allocations: 155.7 kB / 0.9596 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.5354, allocations: 27.08 kB / 0.9596 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.5354, allocations: 118.7 kB / 0.9597 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.5355, allocations: 35.66 kB / 0.9598 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.5355, allocations: 28.53 kB / 0.9598 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.473e-05/0.5355, allocations: 329.5 kB / 0.9601 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.5357, allocations: 48.83 kB / 0.9602 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.5358, allocations: 79.03 kB / 0.9602 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.5361, allocations: 120.2 kB / 0.9604 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5361, allocations: 3.938 kB / 0.9604 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003246/0.5364, allocations: 163.4 kB / 0.9605 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.5364, allocations: 5.469 kB / 0.9605 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5364, allocations: 1.281 kB / 0.9605 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.5364, allocations: 0.9375 kB / 0.9605 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.5366, allocations: 29.78 kB / 0.9605 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.5366, allocations: 1.031 kB / 0.9605 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.5367, allocations: 30.16 kB / 0.9606 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.5367, allocations: 7.484 kB / 0.9606 GB, free: 3.312 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.756e-05/0.5368, allocations: 130.6 kB / 0.9607 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.5368, allocations: 8.688 kB / 0.9607 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.5369, allocations: 14.81 kB / 0.9607 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5369, allocations: 1.594 kB / 0.9607 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5369, allocations: 4.781 kB / 0.9607 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5369, allocations: 3.938 kB / 0.9607 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.537, allocations: 229.2 kB / 0.961 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.537, allocations: 5 kB / 0.961 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.5372, allocations: 24.02 kB / 0.961 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5372, allocations: 4.859 kB / 0.961 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.5372, allocations: 0.875 kB / 0.961 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5372, allocations: 1.031 kB / 0.961 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5372, allocations: 1 kB / 0.961 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.5375, allocations: 244.1 kB / 0.9612 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.5375, allocations: 84.92 kB / 0.9613 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.5376, allocations: 1.156 kB / 0.9613 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5377, allocations: 19.23 kB / 0.9613 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.5377, allocations: 14.17 kB / 0.9613 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.5377, allocations: 10.58 kB / 0.9614 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.5378, allocations: 108.1 kB / 0.9615 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5378, allocations: 0 / 0.9615 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002299/0.538, allocations: 29.69 kB / 0.9615 GB, free: 2.492 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.0004541/0.5385, allocations: 0.7865 MB / 0.9623 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.5388, allocations: 121.1 kB / 0.9624 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5388, allocations: 0 / 0.9624 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.539, allocations: 66.61 kB / 0.9624 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.5393, allocations: 17.66 kB / 0.9624 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.5408, allocations: 1.786 MB / 0.9642 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.5411, allocations: 0.7111 MB / 0.9649 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.989e-05/0.5411, allocations: 16.86 kB / 0.9649 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.5412, allocations: 46.77 kB / 0.9649 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.5412, allocations: 0 / 0.9649 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.562/3.103, allocations: 2.357 MB / 0.9672 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/3.103, allocations: 261.3 kB / 0.9675 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/4.702, allocations: 1.375 kB / 0.9675 GB, free: 14.07 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