Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_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.001219/0.001219, 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.001147/0.001147, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.179/1.179, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.315/2.315, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 69.86 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2145, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002005/0.2166, allocations: 1.087 MB / 1.053 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.2175, allocations: 0.9674 MB / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.2176, allocations: 4 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.046e-05/0.2177, allocations: 11.86 kB / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/0.2178, allocations: 11.88 kB / 1.054 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.2179, allocations: 59.95 kB / 1.054 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.2181, allocations: 156 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2182, allocations: 84.17 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2184, allocations: 63.72 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.957e-05/0.2185, allocations: 63.69 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.2185, allocations: 8 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.2185, allocations: 8 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.2185, allocations: 35.83 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.163e-05/0.2186, allocations: 63.61 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.2188, allocations: 199.5 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2188, allocations: 0 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2188, allocations: 0 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2188, allocations: 0 / 1.055 GB, free: 5.355 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.000552/0.2194, allocations: 455 kB / 1.055 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2194, allocations: 11.97 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.2195, allocations: 50.73 kB / 1.055 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.2195, allocations: 16.75 kB / 1.055 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.2199, allocations: 257.1 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2199, allocations: 12.36 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.2199, allocations: 16.38 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.2202, allocations: 158 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2202, allocations: 3.938 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.2203, allocations: 4 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.2203, allocations: 4 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.2206, allocations: 119.9 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.2211, allocations: 480.2 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.2214, allocations: 118.6 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.2216, allocations: 56.81 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.2216, allocations: 0 / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2216, allocations: 34.56 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.2216, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.000477/0.2221, allocations: 185.3 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.2221, allocations: 51.41 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2222, allocations: 157.7 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2223, allocations: 25.7 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.2223, allocations: 124.2 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.2224, allocations: 31.55 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.2224, allocations: 41.7 kB / 1.057 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.2225, allocations: 326.8 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2227, allocations: 39.97 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2228, allocations: 77.5 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.2231, allocations: 111.3 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2231, allocations: 4 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003167/0.2234, allocations: 145.6 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2234, allocations: 15.98 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2234, allocations: 0 / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.2234, allocations: 0 / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.2236, allocations: 27.92 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2236, allocations: 0 / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.243e-05/0.2237, allocations: 23.83 kB / 1.058 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2237, allocations: 4 kB / 1.058 GB, free: 1.973 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 9.085e-05/0.2238, allocations: 137.7 kB / 1.058 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.2238, allocations: 15.91 kB / 1.058 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.2239, allocations: 12.7 kB / 1.058 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2239, allocations: 4 kB / 1.058 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2239, allocations: 0 / 1.058 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2239, allocations: 0 / 1.058 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.2241, allocations: 241.4 kB / 1.058 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2241, allocations: 3.938 kB / 1.058 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.2242, allocations: 19.98 kB / 1.058 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2242, allocations: 0 / 1.058 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.2243, allocations: 7.984 kB / 1.058 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2243, allocations: 4 kB / 1.058 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2243, allocations: 0 / 1.058 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.2246, allocations: 231.3 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.2246, allocations: 92.86 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.2247, allocations: 4 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2248, allocations: 11.98 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.2248, allocations: 15.98 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.2248, allocations: 7.984 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.956e-05/0.2249, allocations: 113.3 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.212e-06/0.2249, allocations: 0 / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002319/0.2252, allocations: 19.94 kB / 1.059 GB, free: 0.957 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.0005436/0.2257, allocations: 0.7831 MB / 1.06 GB, free: 152 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.226, allocations: 112 kB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.226, allocations: 7.938 kB / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.2262, allocations: 55.97 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.2265, allocations: 21.16 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.2283, allocations: 1.773 MB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2285, allocations: 0.7162 MB / 1.062 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.828e-05/0.2286, allocations: 17.08 kB / 1.062 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.15e-05/0.2286, allocations: 52.81 kB / 1.062 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of SimCode: time 1.283e-06/0.2287, allocations: 0 / 1.062 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4523/0.681, allocations: 2.48 MB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.6812, allocations: 268.8 kB / 1.065 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.291, allocations: 5.344 kB / 1.065 GB, free: 10.64 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches