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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 249.9 MB, free: 3.242 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 489.7 MB / 0.7761 GB, free: 2.648 MB / 0.6075 GB [Timeout remaining time 86] 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=500,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=500,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.002001/0.002001, allocations: 67.89 kB / 1.127 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.084, allocations: 172 MB / 1.295 GB, free: 38.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001909/1.086, allocations: 0.8279 MB / 1.296 GB, free: 38.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001178/1.086, allocations: 36.78 kB / 1.296 GB, free: 38.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/1.086, allocations: 0 / 1.296 GB, free: 38.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.077e-05/1.086, allocations: 11.06 kB / 1.296 GB, free: 38.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.01e-05/1.087, allocations: 14.72 kB / 1.296 GB, free: 38.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.25e-05/1.087, allocations: 21.23 kB / 1.296 GB, free: 38.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.657e-05/1.087, allocations: 65.23 kB / 1.296 GB, free: 38.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/1.087, allocations: 40.55 kB / 1.296 GB, free: 38.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/1.087, allocations: 24.86 kB / 1.296 GB, free: 38.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/1.087, allocations: 28.27 kB / 1.296 GB, free: 38.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/1.087, allocations: 5.688 kB / 1.296 GB, free: 38.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/1.087, allocations: 5.812 kB / 1.296 GB, free: 38.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/1.087, allocations: 14.84 kB / 1.296 GB, free: 38.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/1.087, allocations: 32.83 kB / 1.296 GB, free: 38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/1.087, allocations: 83.08 kB / 1.296 GB, free: 37.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.087, allocations: 0 / 1.296 GB, free: 37.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/1.087, allocations: 0 / 1.296 GB, free: 37.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.43e-06/1.087, allocations: 6.812 kB / 1.296 GB, free: 37.96 MB / 1.061 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.0003611/1.088, allocations: 379.4 kB / 1.296 GB, free: 37.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/1.088, allocations: 8.438 kB / 1.296 GB, free: 37.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/1.088, allocations: 14.77 kB / 1.296 GB, free: 37.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/1.088, allocations: 190.2 kB / 1.297 GB, free: 37.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/1.088, allocations: 3.156 kB / 1.297 GB, free: 37.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/1.088, allocations: 7.156 kB / 1.297 GB, free: 37.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/1.088, allocations: 100.1 kB / 1.297 GB, free: 37.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.088, allocations: 192 / 1.297 GB, free: 37.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/1.088, allocations: 7.922 kB / 1.297 GB, free: 37.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.088, allocations: 2.719 kB / 1.297 GB, free: 37.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/1.088, allocations: 41.27 kB / 1.297 GB, free: 37.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/1.088, allocations: 440.8 kB / 1.297 GB, free: 36.85 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/1.088, allocations: 47.66 kB / 1.297 GB, free: 36.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/1.088, allocations: 14.91 kB / 1.297 GB, free: 36.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/1.089, allocations: 0 / 1.297 GB, free: 36.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/1.089, allocations: 37.25 kB / 1.297 GB, free: 36.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/1.089, allocations: 4 kB / 1.297 GB, free: 36.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001618/1.089, allocations: 62.97 kB / 1.297 GB, free: 36.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/1.089, allocations: 77.11 kB / 1.297 GB, free: 36.58 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.089, allocations: 162.3 kB / 1.298 GB, free: 36.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-06/1.089, allocations: 25.7 kB / 1.298 GB, free: 36.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/1.089, allocations: 105.4 kB / 1.298 GB, free: 36.33 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-06/1.089, allocations: 3.953 kB / 1.298 GB, free: 36.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/1.089, allocations: 16.94 kB / 1.298 GB, free: 36.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.455e-05/1.089, allocations: 324.5 kB / 1.298 GB, free: 35.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/1.089, allocations: 6.625 kB / 1.298 GB, free: 35.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/1.089, allocations: 18.72 kB / 1.298 GB, free: 35.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.261e-05/1.089, allocations: 31.39 kB / 1.298 GB, free: 35.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/1.089, allocations: 0 / 1.298 GB, free: 35.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.593e-05/1.089, allocations: 64.06 kB / 1.298 GB, free: 35.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.089, allocations: 8.219 kB / 1.298 GB, free: 35.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.089, allocations: 3.938 kB / 1.298 GB, free: 35.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.089, allocations: 0 / 1.298 GB, free: 35.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.869e-05/1.089, allocations: 5.75 kB / 1.298 GB, free: 35.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.089, allocations: 3.938 kB / 1.298 GB, free: 35.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/1.089, allocations: 10.7 kB / 1.298 GB, free: 35.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/1.089, allocations: 2.781 kB / 1.298 GB, free: 35.88 MB / 1.061 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 5.197e-05/1.089, allocations: 113.9 kB / 1.298 GB, free: 35.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/1.089, allocations: 10.86 kB / 1.298 GB, free: 35.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/1.089, allocations: 17.97 kB / 1.298 GB, free: 35.74 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.089, allocations: 2.781 kB / 1.298 GB, free: 35.74 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.089, allocations: 0 / 1.298 GB, free: 35.74 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/1.089, allocations: 0 / 1.298 GB, free: 35.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/1.09, allocations: 467.7 kB / 1.299 GB, free: 35.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.09, allocations: 0 / 1.299 GB, free: 35.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/1.09, allocations: 6.594 kB / 1.299 GB, free: 35.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/1.09, allocations: 2.406 kB / 1.299 GB, free: 35.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/1.09, allocations: 0 / 1.299 GB, free: 35.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/1.09, allocations: 2.812 kB / 1.299 GB, free: 35.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.09, allocations: 3.938 kB / 1.299 GB, free: 35.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.669e-05/1.09, allocations: 83.84 kB / 1.299 GB, free: 35.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/1.09, allocations: 93.84 kB / 1.299 GB, free: 35.06 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/1.09, allocations: 0 / 1.299 GB, free: 35.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/1.09, allocations: 0 / 1.299 GB, free: 35.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/1.09, allocations: 6.625 kB / 1.299 GB, free: 35.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/1.09, allocations: 4 kB / 1.299 GB, free: 35.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.211e-05/1.09, allocations: 121.3 kB / 1.299 GB, free: 34.96 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.09, allocations: 0 / 1.299 GB, free: 34.96 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001899/1.09, allocations: 5.656 kB / 1.299 GB, free: 34.96 MB / 1.061 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.0001246/1.09, allocations: 103.5 kB / 1.299 GB, free: 34.88 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.896e-05/1.09, allocations: 19.47 kB / 1.299 GB, free: 34.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.09, allocations: 0 / 1.299 GB, free: 34.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.446e-06/1.09, allocations: 3.156 kB / 1.299 GB, free: 34.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/1.09, allocations: 11.22 kB / 1.299 GB, free: 34.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/1.091, allocations: 191.7 kB / 1.299 GB, free: 34.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/1.091, allocations: 0.6971 MB / 1.3 GB, free: 33.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/1.091, allocations: 14.31 kB / 1.3 GB, free: 33.96 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.091, allocations: 0 / 1.3 GB, free: 33.96 MB / 1.061 GB Notification: Performance of Templates: time 0.002016/1.093, allocations: 0.8678 MB / 1.301 GB, free: 33.89 MB / 1.061 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/jenkins1/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