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.001613/0.001613, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001933/0.001933, allocations: 188.4 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.26/2.26, allocations: 222.9 MB / 239.9 MB, free: 4.516 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 3.922/3.922, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 75.88 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.058, allocations: 140.4 MB / 0.9493 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.003488/1.061, allocations: 1.048 MB / 0.9503 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00168/1.063, allocations: 0.9727 MB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/1.063, allocations: 1.375 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.766e-05/1.063, allocations: 11.86 kB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001897/1.064, allocations: 10.41 kB / 0.9513 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/1.064, allocations: 56.73 kB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002838/1.064, allocations: 153.1 kB / 0.9515 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/1.064, allocations: 95.39 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/1.065, allocations: 65 kB / 0.9516 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/1.065, allocations: 75.06 kB / 0.9517 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.982e-05/1.065, allocations: 16.41 kB / 0.9517 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.315e-05/1.065, allocations: 15.16 kB / 0.9517 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/1.065, allocations: 32.69 kB / 0.9518 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/1.065, allocations: 74.12 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/1.065, allocations: 196.1 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.065, allocations: 5.688 kB / 0.952 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/1.065, allocations: 0 / 0.952 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.082e-05/1.066, allocations: 0 / 0.952 GB, free: 6.859 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.0008812/1.066, allocations: 444.9 kB / 0.9525 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/1.066, allocations: 10.66 kB / 0.9525 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.279e-05/1.067, allocations: 46.55 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/1.067, allocations: 16.56 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/1.067, allocations: 258.2 kB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/1.067, allocations: 10.97 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/1.067, allocations: 13.47 kB / 0.9528 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/1.068, allocations: 149.3 kB / 0.9529 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/1.068, allocations: 0 / 0.9529 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/1.068, allocations: 5.156 kB / 0.9529 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/1.068, allocations: 8.031 kB / 0.953 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/1.069, allocations: 113.6 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009785/1.07, allocations: 480.5 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/1.07, allocations: 103.5 kB / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/1.07, allocations: 45.23 kB / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/1.07, allocations: 5.156 kB / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/1.07, allocations: 40.14 kB / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/1.07, allocations: 0 / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0008566/1.071, allocations: 162.5 kB / 0.9539 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/1.071, allocations: 56.97 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/1.071, allocations: 152.1 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/1.071, allocations: 29.7 kB / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/1.072, allocations: 119.6 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/1.072, allocations: 39.47 kB / 0.9542 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/1.072, allocations: 34.08 kB / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/1.072, allocations: 325.4 kB / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/1.072, allocations: 46.53 kB / 0.9546 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/1.072, allocations: 69.48 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/1.073, allocations: 109.8 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/1.073, allocations: 0 / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006086/1.073, allocations: 152.1 kB / 0.9549 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/1.074, allocations: 5.812 kB / 0.9549 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.074, allocations: 3.938 kB / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.074, allocations: 1.531 kB / 0.955 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/1.074, allocations: 27.03 kB / 0.955 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.074, allocations: 1.25 kB / 0.955 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/1.074, allocations: 31.3 kB / 0.955 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/1.074, allocations: 3.375 kB / 0.955 GB, free: 4.262 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 0.0001313/1.074, allocations: 130.5 kB / 0.9551 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/1.074, allocations: 17.02 kB / 0.9552 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/1.074, allocations: 10.97 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/1.074, allocations: 1.188 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.074, allocations: 1.031 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.074, allocations: 3.938 kB / 0.9552 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/1.075, allocations: 233.4 kB / 0.9554 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.075, allocations: 0 / 0.9554 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/1.075, allocations: 23.23 kB / 0.9554 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/1.075, allocations: 3.938 kB / 0.9554 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/1.075, allocations: 1.469 kB / 0.9554 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.075, allocations: 3.984 kB / 0.9554 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.075, allocations: 5.219 kB / 0.9554 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/1.076, allocations: 228.2 kB / 0.9556 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/1.076, allocations: 85.17 kB / 0.9557 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/1.076, allocations: 4 kB / 0.9557 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/1.076, allocations: 8.797 kB / 0.9557 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/1.076, allocations: 15.45 kB / 0.9558 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/1.076, allocations: 10.38 kB / 0.9558 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.002e-05/1.076, allocations: 110.7 kB / 0.9559 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/1.076, allocations: 0 / 0.9559 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005206/1.077, allocations: 33.62 kB / 0.9559 GB, free: 3.434 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.00084/1.078, allocations: 0.7641 MB / 0.9566 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005799/1.078, allocations: 112.1 kB / 0.9568 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.078, allocations: 0 / 0.9568 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/1.078, allocations: 61.23 kB / 0.9568 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/1.079, allocations: 16.78 kB / 0.9568 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/1.082, allocations: 1.76 MB / 0.9585 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/1.082, allocations: 0.716 MB / 0.9592 GB, free: 380 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001799/1.083, allocations: 16.52 kB / 0.9593 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/1.083, allocations: 48.02 kB / 0.9593 GB, free: 332 kB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/1.083, allocations: 0 / 0.9593 GB, free: 332 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/1.105, allocations: 2.502 MB / 0.9617 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003604/1.105, allocations: 269.1 kB / 0.962 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/3.917, allocations: 0 / 0.962 GB, free: 14.87 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