Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009455/0.0009455, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9684/0.9684, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.813/1.813, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0.7656 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.539e-05/3.848e-05, allocations: 3.094 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001921/0.001959, allocations: 1.028 MB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.003142, allocations: 1.031 MB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.003223, allocations: 3.938 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.003277, allocations: 21.3 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.003391, allocations: 19.81 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.003689, allocations: 68.8 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.003867, allocations: 168.1 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.00407, allocations: 64.72 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.004323, allocations: 104.4 kB / 0.7896 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.661e-05/0.00441, allocations: 56.36 kB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.004438, allocations: 16 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.832e-05/0.004497, allocations: 25.16 kB / 0.7897 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.004526, allocations: 39.83 kB / 0.7897 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.004571, allocations: 39.91 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.005006, allocations: 133.6 kB / 0.7899 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.005011, allocations: 4 kB / 0.7899 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.522e-06/0.005013, allocations: 0 / 0.7899 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.00502, allocations: 0 / 0.7899 GB, free: 9.664 MB / 0.7448 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.0005171/0.005537, allocations: 468 kB / 0.7903 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.005587, allocations: 10.06 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.005744, allocations: 36.8 kB / 0.7904 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.006027, allocations: 193.9 kB / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.006054, allocations: 8.375 kB / 0.7905 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.006073, allocations: 17.94 kB / 0.7906 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.006273, allocations: 130.7 kB / 0.7907 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.006283, allocations: 192 / 0.7907 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.006297, allocations: 5.75 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.006306, allocations: 4.375 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.593e-05/0.006401, allocations: 60.73 kB / 0.7908 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.006905, allocations: 429 kB / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.00707, allocations: 91.11 kB / 0.7913 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.007119, allocations: 36.72 kB / 0.7913 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.007139, allocations: 4 kB / 0.7913 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.007163, allocations: 33.39 kB / 0.7913 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.007165, allocations: 1.938 kB / 0.7913 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002255/0.00739, allocations: 109.5 kB / 0.7914 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.007422, allocations: 55.41 kB / 0.7915 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.007543, allocations: 211.5 kB / 0.7917 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.007558, allocations: 36.23 kB / 0.7917 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.007626, allocations: 167.1 kB / 0.7919 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.007651, allocations: 31.75 kB / 0.7919 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.007708, allocations: 47.34 kB / 0.792 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.007838, allocations: 0.4884 MB / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.783e-05/0.007876, allocations: 15.98 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.739e-05/0.007933, allocations: 58.72 kB / 0.7925 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.611e-05/0.008019, allocations: 77.53 kB / 0.7926 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.008023, allocations: 4 kB / 0.7926 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000144/0.008167, allocations: 114.1 kB / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.008182, allocations: 4 kB / 0.7927 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.008188, allocations: 1.031 kB / 0.7927 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.008207, allocations: 7.984 kB / 0.7927 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.008315, allocations: 23.92 kB / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.008322, allocations: 5.156 kB / 0.7927 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.703e-05/0.008359, allocations: 7.938 kB / 0.7927 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.008368, allocations: 4.844 kB / 0.7927 GB, free: 6.496 MB / 0.7448 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.395e-05/0.008462, allocations: 169.4 kB / 0.7929 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.00849, allocations: 23.83 kB / 0.7929 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.00852, allocations: 18.06 kB / 0.7929 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.008522, allocations: 3.938 kB / 0.7929 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.008527, allocations: 0 / 0.7929 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.008531, allocations: 0 / 0.7929 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.008683, allocations: 165.4 kB / 0.7931 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008685, allocations: 0 / 0.7931 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.008739, allocations: 20.98 kB / 0.7931 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008742, allocations: 3.938 kB / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.008751, allocations: 0 / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008753, allocations: 1.438 kB / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008754, allocations: 0 / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.008934, allocations: 248.3 kB / 0.7934 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.008948, allocations: 21.14 kB / 0.7934 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.008962, allocations: 3.938 kB / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.313e-05/0.009005, allocations: 4 kB / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.009067, allocations: 23 kB / 0.7934 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.009073, allocations: 4 kB / 0.7934 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.673e-05/0.00913, allocations: 148.5 kB / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00913, allocations: 0 / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001645/0.009295, allocations: 27.89 kB / 0.7936 GB, free: 5.578 MB / 0.7448 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.0001163/0.009411, allocations: 107.2 kB / 0.7937 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.009556, allocations: 69.48 kB / 0.7938 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009557, allocations: 0 / 0.7938 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.36e-05/0.009611, allocations: 47.59 kB / 0.7938 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.009827, allocations: 28.34 kB / 0.7938 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.01047, allocations: 278.9 kB / 0.7941 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.01052, allocations: 63.84 kB / 0.7942 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.685e-05/0.01058, allocations: 19.33 kB / 0.7942 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.01063, allocations: 17.47 kB / 0.7942 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/0.01063, allocations: 3.938 kB / 0.7942 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of Templates: time 0.003396/0.01403, allocations: 1.273 MB / 0.7954 GB, free: 3.703 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.363971514161676]