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.Overrides.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.01162/0.01162, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.084/3.084, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004043, allocations: 8.594 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3769, allocations: 159.6 MB / 1.059 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.001801/0.3787, allocations: 1.024 MB / 1.06 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.3807, allocations: 1.318 MB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.3809, allocations: 8 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.29e-05/0.3809, allocations: 23.78 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.3811, allocations: 19.8 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.3817, allocations: 199.1 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.382, allocations: 348.2 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.3823, allocations: 161 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.3824, allocations: 111.5 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.3826, allocations: 127.3 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.3827, allocations: 12 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.334e-05/0.3828, allocations: 23.98 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.3828, allocations: 51.75 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.383, allocations: 144.9 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.3834, allocations: 430.7 kB / 1.063 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3834, allocations: 4 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3834, allocations: 0 / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3834, allocations: 3.938 kB / 1.063 GB, free: 1.41 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001103/0.3845, allocations: 0.5943 MB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3846, allocations: 12.03 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.05e-05/0.3847, allocations: 36.56 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/0.3855, allocations: 368.4 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.3856, allocations: 28.94 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.3857, allocations: 40.3 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006782/0.3864, allocations: 316.4 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3864, allocations: 3.938 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.3864, allocations: 16 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3864, allocations: 8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000689/0.3871, allocations: 244.5 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3885, allocations: 0.9868 MB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.389, allocations: 219.8 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.3893, allocations: 118.6 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.3894, allocations: 4 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.3899, allocations: 191.8 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.904e-06/0.3899, allocations: 0 / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.001077/0.391, allocations: 333.2 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.391, allocations: 114.7 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.3913, allocations: 231.9 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.3913, allocations: 29.7 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3914, allocations: 176.2 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.3915, allocations: 71.17 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.3916, allocations: 41.7 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3917, allocations: 334.8 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.3921, allocations: 108.2 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.3925, allocations: 195.6 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006954/0.3932, allocations: 312.6 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3932, allocations: 3.938 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009062/0.3941, allocations: 383.4 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.3941, allocations: 50.72 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3942, allocations: 0 / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3942, allocations: 4 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.3945, allocations: 59.83 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3945, allocations: 4.625 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.3949, allocations: 75.7 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.3949, allocations: 19.98 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001725/0.3951, allocations: 159.2 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.3951, allocations: 19.75 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.3952, allocations: 25.39 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3952, allocations: 4 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.3952, allocations: 4 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.3952, allocations: 4 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.3956, allocations: 317.4 kB / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3956, allocations: 0 / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.3958, allocations: 55.83 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3959, allocations: 3.938 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3959, allocations: 8 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3959, allocations: 0 / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3959, allocations: 4 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.3966, allocations: 282.4 kB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.3967, allocations: 112.7 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.3967, allocations: 7.938 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3969, allocations: 15.98 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.397, allocations: 43.94 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.397, allocations: 11.92 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001228/0.3972, allocations: 145.9 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3972, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003241/0.3975, allocations: 63.78 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001889/0.3977, allocations: 111.2 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008262/0.3985, allocations: 327.1 kB / 1.07 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3985, allocations: 0 / 1.07 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.3989, allocations: 132.5 kB / 1.07 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3993, allocations: 48.45 kB / 1.07 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.4002, allocations: 0.5475 MB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.4005, allocations: 0.756 MB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.4007, allocations: 42.28 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.175e-05/0.4008, allocations: 23.44 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of SimCode: time 6.92e-07/0.4008, allocations: 0 / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of Templates: time 0.006793/0.4076, allocations: 2.808 MB / 1.074 GB, free: 5.195 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches