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.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.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.001377/0.001377, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001609/0.001609, allocations: 193.5 kB / 16.13 MB, free: 6.645 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.48 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.141/2.141, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5302/0.5315, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001963/0.5335, allocations: 1.041 MB / 0.9501 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.5344, allocations: 0.9718 MB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.5345, allocations: 2.75 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.631e-05/0.5346, allocations: 11.86 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.089e-05/0.5347, allocations: 10.62 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.5348, allocations: 56.19 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.535, allocations: 145.5 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.5351, allocations: 90.75 kB / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.5353, allocations: 55.38 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.5354, allocations: 67.47 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.5354, allocations: 8.688 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.075e-05/0.5354, allocations: 8.469 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.5354, allocations: 31.67 kB / 0.9515 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.5355, allocations: 61.36 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.5356, allocations: 197 kB / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.5356, allocations: 0 / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5356, allocations: 0 / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.5357, allocations: 0 / 0.9518 GB, free: 6.992 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.0005177/0.5362, allocations: 441.4 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.5362, allocations: 10.44 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.5363, allocations: 47.33 kB / 0.9523 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.5363, allocations: 20.59 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.5366, allocations: 262.5 kB / 0.9525 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.5367, allocations: 11.03 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.5367, allocations: 12.09 kB / 0.9526 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.537, allocations: 145.1 kB / 0.9527 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.537, allocations: 0 / 0.9527 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.537, allocations: 6.375 kB / 0.9527 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.537, allocations: 2.438 kB / 0.9527 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.5373, allocations: 122.6 kB / 0.9528 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.5378, allocations: 476.8 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.5381, allocations: 114.3 kB / 0.9534 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.5382, allocations: 49.48 kB / 0.9534 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.5383, allocations: 1.344 kB / 0.9534 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.5383, allocations: 35.97 kB / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.041e-06/0.5383, allocations: 0 / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004734/0.5388, allocations: 171.1 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.5388, allocations: 57 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.02e-05/0.5389, allocations: 156.6 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.5389, allocations: 31.27 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.5389, allocations: 118.7 kB / 0.954 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.539, allocations: 27.66 kB / 0.954 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.539, allocations: 42.38 kB / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.5391, allocations: 325.3 kB / 0.9543 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.5392, allocations: 41.97 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.5393, allocations: 69.84 kB / 0.9545 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.5396, allocations: 105.5 kB / 0.9546 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5396, allocations: 0 / 0.9546 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003144/0.5399, allocations: 151.8 kB / 0.9547 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.5399, allocations: 9.719 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5399, allocations: 0 / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.54, allocations: 2.25 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.5401, allocations: 26.62 kB / 0.9547 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.5401, allocations: 1.125 kB / 0.9547 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.435e-05/0.5402, allocations: 31.23 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.5402, allocations: 3.188 kB / 0.9548 GB, free: 4.387 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.829e-05/0.5403, allocations: 126.8 kB / 0.9549 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.5404, allocations: 8.781 kB / 0.9549 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.5404, allocations: 15.16 kB / 0.9549 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.5404, allocations: 1.188 kB / 0.9549 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5404, allocations: 5.141 kB / 0.9549 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5404, allocations: 11.88 kB / 0.9549 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.5406, allocations: 229.9 kB / 0.9552 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5406, allocations: 0 / 0.9552 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.5407, allocations: 21.81 kB / 0.9552 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5407, allocations: 1.188 kB / 0.9552 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5407, allocations: 5.125 kB / 0.9552 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5407, allocations: 0 / 0.9552 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5407, allocations: 1.344 kB / 0.9552 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.5411, allocations: 232.4 kB / 0.9554 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.5411, allocations: 84.3 kB / 0.9555 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.5411, allocations: 1.281 kB / 0.9555 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5412, allocations: 12.7 kB / 0.9555 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.5413, allocations: 22.06 kB / 0.9555 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.5413, allocations: 7.469 kB / 0.9555 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.873e-05/0.5414, allocations: 105.2 kB / 0.9556 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5414, allocations: 4 kB / 0.9556 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002426/0.5416, allocations: 30 kB / 0.9557 GB, free: 3.562 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.0004564/0.5421, allocations: 0.77 MB / 0.9564 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.5424, allocations: 110 kB / 0.9565 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5424, allocations: 3.938 kB / 0.9565 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.5425, allocations: 53.5 kB / 0.9566 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.5428, allocations: 14.03 kB / 0.9566 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.5444, allocations: 1.75 MB / 0.9583 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.5445, allocations: 0.7112 MB / 0.959 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.785e-05/0.5446, allocations: 20.44 kB / 0.959 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.5447, allocations: 43.83 kB / 0.959 GB, free: 476 kB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5447, allocations: 0 / 0.959 GB, free: 476 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2934/0.8381, allocations: 2.432 MB / 0.9614 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/0.8383, allocations: 260.5 kB / 0.9617 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.371, allocations: 4.109 kB / 0.9617 GB, free: 15.05 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