Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002317/0.002317, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.594/1.594, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 474.4 MB / 0.7465 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 66.61 kB / 0.9135 GB, free: 32.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3862, allocations: 160.3 MB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002625/0.3888, allocations: 1.052 MB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3901, allocations: 0.9713 MB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-05/0.3902, allocations: 4 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.142e-05/0.3903, allocations: 11.86 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.3904, allocations: 11.86 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.3907, allocations: 55.97 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.3908, allocations: 160 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.3911, allocations: 84.17 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3912, allocations: 63.7 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3913, allocations: 67.62 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.3914, allocations: 8 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.431e-05/0.3914, allocations: 12 kB / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.3914, allocations: 27.91 kB / 1.073 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.3915, allocations: 71.59 kB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.3917, allocations: 199.5 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3917, allocations: 0 / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3918, allocations: 0 / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3918, allocations: 0 / 1.073 GB, free: 5.734 MB / 0.8262 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.0006821/0.3925, allocations: 447 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3925, allocations: 12.03 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.3926, allocations: 20.66 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.393, allocations: 257.9 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.393, allocations: 8.375 kB / 1.074 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.3931, allocations: 20.31 kB / 1.074 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.3934, allocations: 146 kB / 1.074 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3934, allocations: 4.188 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.3935, allocations: 11.94 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3935, allocations: 4 kB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.3938, allocations: 115.9 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.3945, allocations: 484 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.3948, allocations: 126.6 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3949, allocations: 48.83 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.395, allocations: 8 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.395, allocations: 30.56 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.395, allocations: 0 / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005358/0.3955, allocations: 181.4 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3956, allocations: 51.41 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3957, allocations: 157.5 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3957, allocations: 29.7 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.3958, allocations: 124.2 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.3959, allocations: 31.55 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.3959, allocations: 45.64 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3961, allocations: 322.8 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3962, allocations: 39.97 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3964, allocations: 79.33 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.3967, allocations: 115.3 kB / 1.076 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3967, allocations: 0 / 1.076 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003522/0.397, allocations: 157.7 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.397, allocations: 9.406 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3971, allocations: 0 / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3971, allocations: 0 / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.3973, allocations: 28.08 kB / 1.076 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3973, allocations: 3.938 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-05/0.3974, allocations: 15.92 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3974, allocations: 8 kB / 1.076 GB, free: 2.406 MB / 0.8262 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.0001168/0.3975, allocations: 133.7 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.3976, allocations: 15.81 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.3976, allocations: 12.72 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3976, allocations: 8 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3976, allocations: 0 / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3976, allocations: 0 / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.3979, allocations: 237.5 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3979, allocations: 0 / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.398, allocations: 23.97 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.398, allocations: 0 / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.398, allocations: 0 / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.398, allocations: 0 / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3981, allocations: 4 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.3984, allocations: 243.1 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.3985, allocations: 88.95 kB / 1.077 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.3985, allocations: 8 kB / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.3986, allocations: 11.98 kB / 1.077 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.3987, allocations: 19.97 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.3987, allocations: 4 kB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.951e-05/0.3988, allocations: 114 kB / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3988, allocations: 0 / 1.077 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002494/0.3991, allocations: 23.91 kB / 1.077 GB, free: 1.383 MB / 0.8262 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.0001312/0.3992, allocations: 111.2 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.3996, allocations: 112 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3996, allocations: 0 / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.3998, allocations: 59.91 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.4001, allocations: 19.92 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.4007, allocations: 322.3 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.401, allocations: 0.7165 MB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.608e-05/0.4011, allocations: 21.06 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.4012, allocations: 15.44 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of SimCode: time 3.8e-07/0.4012, allocations: 0 / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.004097/0.4053, allocations: 1.093 MB / 1.079 GB, free: 14.91 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches