Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001479/0.001479, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002046/0.002046, allocations: 188.8 kB / 22.23 MB, free: 5.105 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.486/1.486, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.833/2.833, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 75.88 kB / 1.061 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 160.8 MB / 1.218 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002196/1.038, allocations: 0.8272 MB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000125/1.038, allocations: 45.75 kB / 1.219 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/1.038, allocations: 1.031 kB / 1.219 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/1.038, allocations: 7.875 kB / 1.219 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/1.038, allocations: 9 kB / 1.219 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.029e-05/1.039, allocations: 23.25 kB / 1.219 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/1.039, allocations: 59.41 kB / 1.219 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/1.039, allocations: 38.36 kB / 1.219 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/1.039, allocations: 24.14 kB / 1.219 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/1.039, allocations: 32.45 kB / 1.22 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/1.039, allocations: 5.75 kB / 1.22 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/1.039, allocations: 6.375 kB / 1.22 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/1.039, allocations: 18.45 kB / 1.22 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/1.039, allocations: 30.84 kB / 1.22 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/1.039, allocations: 75.08 kB / 1.22 GB, free: 2.883 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.039, allocations: 0.9062 kB / 1.22 GB, free: 2.883 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.684e-06/1.039, allocations: 3.938 kB / 1.22 GB, free: 2.879 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.221e-06/1.039, allocations: 4 kB / 1.22 GB, free: 2.875 MB / 0.92 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.000549/1.04, allocations: 385 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.04, allocations: 9.844 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/1.04, allocations: 13.47 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/1.04, allocations: 198.1 kB / 1.22 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/1.04, allocations: 3.469 kB / 1.22 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/1.04, allocations: 9.594 kB / 1.22 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/1.04, allocations: 96.83 kB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.04, allocations: 1.156 kB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.04, allocations: 4.875 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.04, allocations: 2.062 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.535e-05/1.04, allocations: 35.92 kB / 1.22 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/1.041, allocations: 440.7 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.969e-05/1.041, allocations: 44.94 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/1.041, allocations: 14.62 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/1.041, allocations: 1.812 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/1.041, allocations: 38.59 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.327e-05/1.041, allocations: 3.984 kB / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001908/1.041, allocations: 63.8 kB / 1.221 GB, free: 1.516 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/1.041, allocations: 77.11 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/1.042, allocations: 159.5 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/1.042, allocations: 25.7 kB / 1.221 GB, free: 1.262 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/1.042, allocations: 104.9 kB / 1.221 GB, free: 1.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.318e-06/1.042, allocations: 5.266 kB / 1.221 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/1.042, allocations: 17.28 kB / 1.221 GB, free: 1.137 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.042, allocations: 325.3 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/1.042, allocations: 7.031 kB / 1.222 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/1.042, allocations: 18.5 kB / 1.222 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/1.042, allocations: 27.53 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.042, allocations: 0 / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.724e-05/1.042, allocations: 67.62 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.042, allocations: 5.125 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.042, allocations: 3.938 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.042, allocations: 1.594 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/1.042, allocations: 4.531 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/1.042, allocations: 5.031 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/1.042, allocations: 14.2 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/1.042, allocations: 1.312 kB / 1.222 GB, free: 0.6914 MB / 0.92 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.0001397/1.042, allocations: 121.1 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/1.043, allocations: 16.45 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/1.043, allocations: 14.19 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.043, allocations: 1.094 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.043, allocations: 1.188 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/1.043, allocations: 0 / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/1.043, allocations: 474.7 kB / 1.222 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.043, allocations: 0 / 1.222 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/1.043, allocations: 7.219 kB / 1.222 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.043, allocations: 1.094 kB / 1.222 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/1.043, allocations: 1.156 kB / 1.222 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/1.043, allocations: 1 kB / 1.222 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.043, allocations: 0 / 1.222 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/1.043, allocations: 87.5 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/1.043, allocations: 83.5 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/1.043, allocations: 5.125 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/1.043, allocations: 1.062 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/1.043, allocations: 5.125 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/1.043, allocations: 5.047 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.147e-05/1.043, allocations: 117.9 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.043, allocations: 0 / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001881/1.044, allocations: 7.531 kB / 1.223 GB, free: 15.74 MB / 0.9356 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.000131/1.044, allocations: 98.92 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001024/1.044, allocations: 21.59 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.044, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/1.044, allocations: 4.125 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/1.044, allocations: 21.5 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/1.044, allocations: 163.9 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/1.045, allocations: 0.6951 MB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.337e-05/1.045, allocations: 7.953 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/1.045, allocations: 11.75 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/1.045, allocations: 0 / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of Templates: time 0.00291/1.048, allocations: 483.2 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.475406787358224]