Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 92 kB / 15.06 MB, free: 1.098 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.001464/0.001464, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.816/2.816, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004088, allocations: 12 kB / 0.8723 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.7163, allocations: 153.8 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001382/0.7177, allocations: 0.6842 MB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.7188, allocations: 0.9559 MB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.7189, allocations: 4 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.719, allocations: 3.938 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.7191, allocations: 11.86 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.7193, allocations: 43.95 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.7195, allocations: 151.6 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.7196, allocations: 62.94 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.7198, allocations: 43.78 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.7199, allocations: 51.7 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.7199, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.7199, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.72, allocations: 23.91 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.72, allocations: 45.64 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.7202, allocations: 157.5 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7202, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7202, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.7202, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.7794 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.0006153/0.7208, allocations: 421 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.7209, allocations: 8.562 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.7209, allocations: 19.81 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.7214, allocations: 255 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.7214, allocations: 20.17 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.7215, allocations: 12 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.7218, allocations: 147.9 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.7218, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.7218, allocations: 8 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.7219, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.7222, allocations: 128.7 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.7229, allocations: 480.3 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.7231, allocations: 106.7 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.7233, allocations: 60.77 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.7233, allocations: 4 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.7234, allocations: 30.56 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 2.815e-06/0.7234, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.000517/0.7239, allocations: 193.3 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.7239, allocations: 55.41 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.7241, allocations: 152.5 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.7241, allocations: 25.7 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.7242, allocations: 127.8 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.7242, allocations: 27.56 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.7242, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7243, allocations: 322.8 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.7245, allocations: 55.95 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.7246, allocations: 75.41 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.7248, allocations: 60.23 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7248, allocations: 0 / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003229/0.7251, allocations: 161.3 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7252, allocations: 8.094 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7252, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7252, allocations: 4 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.7254, allocations: 31.91 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.7254, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.601e-05/0.7255, allocations: 15.98 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.7255, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.7794 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.7256, allocations: 133.7 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.7256, allocations: 11.81 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.7257, allocations: 16.72 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7257, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7257, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.7257, allocations: 7.984 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.7259, allocations: 225.5 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.726, allocations: 7.953 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.7261, allocations: 35.91 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7261, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.7261, allocations: 4 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7261, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7261, allocations: 4 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.7265, allocations: 231.4 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.7265, allocations: 88.88 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.7266, allocations: 4 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.7267, allocations: 19.97 kB / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.7267, allocations: 15.97 kB / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.7268, allocations: 11.94 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.45e-05/0.7268, allocations: 110.6 kB / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.423e-06/0.7268, allocations: 0 / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00027/0.7271, allocations: 27.88 kB / 1.028 GB, free: 9.523 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001372/0.7273, allocations: 115.2 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.7276, allocations: 119.9 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7276, allocations: 0 / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.7278, allocations: 56.16 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.7281, allocations: 19.94 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.7286, allocations: 306.2 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.7289, allocations: 0.7123 MB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.87e-05/0.729, allocations: 16.64 kB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.729, allocations: 15.44 kB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.729, allocations: 4 kB / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of Templates: time 0.003725/0.7328, allocations: 1.051 MB / 1.031 GB, free: 7.113 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches