Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001232/0.001232, 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.001237/0.001237, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.199/1.199, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.443/2.443, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 68.05 kB / 0.8988 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2313, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002168/0.2335, allocations: 1.073 MB / 1.054 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2346, allocations: 0.9753 MB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.2347, allocations: 0 / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.167e-05/0.2347, allocations: 11.86 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.954e-05/0.2349, allocations: 15.86 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.235, allocations: 51.97 kB / 1.055 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.2352, allocations: 164 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2354, allocations: 96.16 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.2355, allocations: 67.7 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.22e-05/0.2356, allocations: 71.69 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.2357, allocations: 20 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.295e-05/0.2357, allocations: 16 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.2357, allocations: 39.84 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.2358, allocations: 71.59 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.236, allocations: 211.5 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.236, allocations: 0 / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.233e-06/0.236, allocations: 0 / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.236, allocations: 3.938 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005871/0.2366, allocations: 447 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2367, allocations: 8.031 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.2367, allocations: 46.73 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.2368, allocations: 24.75 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.2372, allocations: 257.5 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.2372, allocations: 8.375 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.2372, allocations: 20.31 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.2375, allocations: 154.5 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2376, allocations: 3.938 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.2376, allocations: 4 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2376, allocations: 7.938 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.2379, allocations: 119.9 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.2385, allocations: 484.1 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.2388, allocations: 114.7 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.2389, allocations: 52.83 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.239, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.239, allocations: 42.55 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.239, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0004888/0.2395, allocations: 177.3 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.2395, allocations: 51.41 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.2396, allocations: 151.8 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2397, allocations: 29.7 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.2397, allocations: 128.2 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.2398, allocations: 31.56 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.2398, allocations: 41.69 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2399, allocations: 322.8 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.2401, allocations: 39.95 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.2402, allocations: 83.38 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.2405, allocations: 107.3 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2405, allocations: 0 / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003348/0.2409, allocations: 153.4 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2409, allocations: 8 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2409, allocations: 0 / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2409, allocations: 0 / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.2411, allocations: 27.97 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2411, allocations: 4 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.279e-05/0.2412, allocations: 23.92 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2412, allocations: 4 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.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 (15): * Single equations (assignments): 15 * 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.0001006/0.2413, allocations: 133.7 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.2413, allocations: 15.84 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.2414, allocations: 16.7 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2414, allocations: 4 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2414, allocations: 0 / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2414, allocations: 0 / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.2416, allocations: 249.4 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2416, allocations: 0 / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.2417, allocations: 19.98 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2418, allocations: 0 / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2418, allocations: 4 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2418, allocations: 0 / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2418, allocations: 0 / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.2421, allocations: 235.3 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.2422, allocations: 96.84 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.2422, allocations: 4 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.2423, allocations: 7.984 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.2424, allocations: 15.98 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2424, allocations: 4 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.518e-05/0.2425, allocations: 117.1 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2425, allocations: 7.938 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00024/0.2427, allocations: 24 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0006076/0.2433, allocations: 0.7714 MB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003282/0.2437, allocations: 115.8 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2437, allocations: 4 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.2438, allocations: 59.89 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.2441, allocations: 15.94 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.2461, allocations: 1.783 MB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2464, allocations: 0.7123 MB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.2465, allocations: 17.08 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/0.2465, allocations: 47.42 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2465, allocations: 0 / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5031/0.7497, allocations: 2.573 MB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.75, allocations: 260.1 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.667, allocations: 6.031 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches