Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 249.4 MB, free: 3.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 496.2 MB / 0.7819 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] 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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.89 kB / 1.136 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 173.7 MB / 1.305 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002507/1.119, allocations: 0.835 MB / 1.306 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001398/1.119, allocations: 40.34 kB / 1.306 GB, free: 124 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/1.119, allocations: 5.531 kB / 1.306 GB, free: 120 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/1.12, allocations: 9.703 kB / 1.306 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/1.12, allocations: 14.95 kB / 1.306 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.186e-05/1.12, allocations: 16.31 kB / 1.306 GB, free: 92 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/1.12, allocations: 58.95 kB / 1.306 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/1.12, allocations: 36.02 kB / 1.306 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.865e-05/1.12, allocations: 34.39 kB / 1.306 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/1.12, allocations: 26.77 kB / 1.306 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/1.12, allocations: 5.844 kB / 1.306 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/1.12, allocations: 6.344 kB / 1.306 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/1.12, allocations: 12.81 kB / 1.307 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/1.12, allocations: 36.11 kB / 1.307 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/1.121, allocations: 81.48 kB / 1.307 GB, free: 15.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.121, allocations: 1.219 kB / 1.307 GB, free: 15.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.023e-06/1.121, allocations: 0 / 1.307 GB, free: 15.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.121, allocations: 0 / 1.307 GB, free: 15.93 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006459/1.121, allocations: 384.2 kB / 1.307 GB, free: 15.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.121, allocations: 10.12 kB / 1.307 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/1.121, allocations: 12.72 kB / 1.307 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/1.122, allocations: 189.6 kB / 1.307 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/1.122, allocations: 7.844 kB / 1.307 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/1.122, allocations: 5.188 kB / 1.307 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/1.122, allocations: 98.83 kB / 1.307 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.122, allocations: 192 / 1.307 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/1.122, allocations: 5.312 kB / 1.307 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/1.122, allocations: 1.062 kB / 1.307 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.749e-05/1.122, allocations: 41.61 kB / 1.307 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/1.123, allocations: 433.1 kB / 1.308 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.15e-05/1.123, allocations: 41.56 kB / 1.308 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/1.123, allocations: 24.25 kB / 1.308 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/1.123, allocations: 0.5625 kB / 1.308 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/1.123, allocations: 32.42 kB / 1.308 GB, free: 14.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.123, allocations: 1.281 kB / 1.308 GB, free: 14.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002123/1.123, allocations: 59.78 kB / 1.308 GB, free: 14.65 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/1.123, allocations: 79.02 kB / 1.308 GB, free: 14.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/1.123, allocations: 163 kB / 1.308 GB, free: 14.44 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.123, allocations: 26.77 kB / 1.308 GB, free: 14.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/1.123, allocations: 108 kB / 1.308 GB, free: 14.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/1.123, allocations: 9.375 kB / 1.308 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/1.123, allocations: 26.14 kB / 1.308 GB, free: 14.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.124, allocations: 324.8 kB / 1.309 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/1.124, allocations: 6.641 kB / 1.309 GB, free: 13.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/1.124, allocations: 16.55 kB / 1.309 GB, free: 13.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/1.124, allocations: 31.36 kB / 1.309 GB, free: 13.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.124, allocations: 0 / 1.309 GB, free: 13.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.85e-05/1.124, allocations: 57.25 kB / 1.309 GB, free: 13.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.124, allocations: 10.38 kB / 1.309 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.124, allocations: 7.938 kB / 1.309 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/1.124, allocations: 1.469 kB / 1.309 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/1.124, allocations: 6.906 kB / 1.309 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.124, allocations: 0 / 1.309 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/1.124, allocations: 7 kB / 1.309 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.124, allocations: 1.375 kB / 1.309 GB, free: 13.84 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001031/1.124, allocations: 114.2 kB / 1.309 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/1.124, allocations: 8.609 kB / 1.309 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/1.124, allocations: 20.17 kB / 1.309 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.124, allocations: 1.781 kB / 1.309 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.124, allocations: 96 / 1.309 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/1.124, allocations: 5.453 kB / 1.309 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/1.125, allocations: 474.2 kB / 1.309 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.125, allocations: 1.125 kB / 1.309 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/1.125, allocations: 3.172 kB / 1.309 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.125, allocations: 5.312 kB / 1.309 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/1.125, allocations: 2.047 kB / 1.309 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.125, allocations: 0 / 1.309 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.125, allocations: 1.375 kB / 1.309 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/1.125, allocations: 80.25 kB / 1.309 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/1.125, allocations: 91.42 kB / 1.31 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/1.125, allocations: 4.547 kB / 1.31 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/1.125, allocations: 2.203 kB / 1.31 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/1.125, allocations: 1.891 kB / 1.31 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/1.125, allocations: 0 / 1.31 GB, free: 13.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001195/1.125, allocations: 119.8 kB / 1.31 GB, free: 12.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.125, allocations: 0 / 1.31 GB, free: 12.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002093/1.125, allocations: 7.312 kB / 1.31 GB, free: 12.93 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000161/1.125, allocations: 100.5 kB / 1.31 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001174/1.126, allocations: 23.5 kB / 1.31 GB, free: 12.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.126, allocations: 0 / 1.31 GB, free: 12.83 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/1.126, allocations: 8.656 kB / 1.31 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/1.126, allocations: 15.52 kB / 1.31 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/1.126, allocations: 171.7 kB / 1.31 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/1.127, allocations: 0.6962 MB / 1.311 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.672e-05/1.127, allocations: 7.375 kB / 1.311 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/1.127, allocations: 10.97 kB / 1.311 GB, free: 11.95 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/1.127, allocations: 1.062 kB / 1.311 GB, free: 11.95 MB / 1.014 GB Notification: Performance of Templates: time 0.004106/1.131, allocations: 473.4 kB / 1.311 GB, free: 11.87 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.980756639502943]