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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001421/0.00142, allocations: 105.2 kB / 16.41 MB, free: 6.512 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.001547/0.001548, allocations: 187 kB / 17.34 MB, free: 5.742 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.501/2.501, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 71.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8852/0.8867, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002702/0.8894, allocations: 1.01 MB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.8908, allocations: 0.9713 MB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.031e-05/0.8909, allocations: 4 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.502e-05/0.8909, allocations: 15.8 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.8911, allocations: 23.73 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.8913, allocations: 59.94 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.8915, allocations: 155.7 kB / 1.17 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.8917, allocations: 82.25 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.8919, allocations: 75.7 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.892, allocations: 71.61 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.892, allocations: 16 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/0.8921, allocations: 20 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.8921, allocations: 39.86 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.8922, allocations: 75.59 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.8924, allocations: 199 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8924, allocations: 0 / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8924, allocations: 4 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.8925, allocations: 0 / 1.17 GB, free: 1.039 MB / 0.8887 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.000671/0.8931, allocations: 445 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.8932, allocations: 16.92 kB / 1.171 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.8932, allocations: 16.75 kB / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.8937, allocations: 248.2 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.8937, allocations: 20.58 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.8937, allocations: 12.38 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.8941, allocations: 141 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.8941, allocations: 4.188 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.8941, allocations: 7.938 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.8941, allocations: 4 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.8945, allocations: 108.8 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006597/0.8951, allocations: 468.1 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.8954, allocations: 114.5 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.8956, allocations: 48.83 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.8956, allocations: 0 / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.8956, allocations: 38.55 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.8956, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0005145/0.8962, allocations: 169.4 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.8962, allocations: 55.41 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.8964, allocations: 156.2 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.8964, allocations: 25.7 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.8965, allocations: 123.8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.8965, allocations: 31.55 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.8966, allocations: 41.7 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.8967, allocations: 326.8 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.8969, allocations: 35.97 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.897, allocations: 72.77 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.8973, allocations: 111.7 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8973, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003414/0.8977, allocations: 161.2 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.8977, allocations: 4 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8977, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8977, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.8979, allocations: 23.98 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.8979, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-05/0.898, allocations: 15.92 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.898, allocations: 12 kB / 1.173 GB, free: 13.79 MB / 0.9044 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.00013/0.8982, allocations: 137.8 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.8982, allocations: 11.81 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.8982, allocations: 16.72 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.8983, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.8983, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8983, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.8985, allocations: 233.5 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8985, allocations: 0 / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.8987, allocations: 23.98 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8987, allocations: 3.984 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.8987, allocations: 3.984 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8987, allocations: 3.938 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.8987, allocations: 4 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.8991, allocations: 227.3 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.8991, allocations: 96.86 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.8991, allocations: 0 / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.8992, allocations: 11.98 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.8993, allocations: 19.92 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.8994, allocations: 4 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.742e-05/0.8994, allocations: 112.5 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8994, allocations: 0 / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002583/0.8997, allocations: 23.91 kB / 1.174 GB, free: 12.79 MB / 0.9044 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.0001399/0.8999, allocations: 111.2 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.9002, allocations: 107.8 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9002, allocations: 0 / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.9004, allocations: 55.91 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.9008, allocations: 24.03 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.9014, allocations: 287.8 kB / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.9017, allocations: 0.7161 MB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.9017, allocations: 19.42 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.9017, allocations: 4 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of Templates: time 0.003563/0.9053, allocations: 1.656 MB / 1.177 GB, free: 9.754 MB / 0.9044 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/jenkins1/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