Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.00156/0.00156, allocations: 112.7 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.001947/0.001947, allocations: 187.9 kB / 22.23 MB, free: 5.098 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.54/1.54, allocations: 225.6 MB / 251 MB, free: 13.19 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.662/2.662, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] 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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.89 kB / 1.061 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 160.8 MB / 1.218 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002598/1.023, allocations: 0.8365 MB / 1.219 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001372/1.024, allocations: 49.31 kB / 1.219 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/1.024, allocations: 1.125 kB / 1.219 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/1.024, allocations: 7.875 kB / 1.219 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/1.024, allocations: 12.92 kB / 1.219 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.761e-05/1.024, allocations: 19.45 kB / 1.219 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/1.024, allocations: 58.78 kB / 1.219 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/1.024, allocations: 34.45 kB / 1.219 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.607e-05/1.024, allocations: 29.61 kB / 1.219 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/1.024, allocations: 28.36 kB / 1.22 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/1.024, allocations: 5.625 kB / 1.22 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/1.024, allocations: 9.844 kB / 1.22 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/1.024, allocations: 18.11 kB / 1.22 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/1.024, allocations: 34.33 kB / 1.22 GB, free: 2.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/1.025, allocations: 72.06 kB / 1.22 GB, free: 2.789 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.025, allocations: 1.281 kB / 1.22 GB, free: 2.789 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/1.025, allocations: 0 / 1.22 GB, free: 2.789 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.025, allocations: 0 / 1.22 GB, free: 2.789 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.0006466/1.025, allocations: 387.9 kB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.025, allocations: 14.06 kB / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/1.025, allocations: 21.09 kB / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/1.026, allocations: 186.8 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/1.026, allocations: 2.938 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/1.026, allocations: 9.625 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/1.026, allocations: 96.27 kB / 1.22 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.026, allocations: 192 / 1.22 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/1.026, allocations: 9.578 kB / 1.22 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/1.026, allocations: 1.594 kB / 1.22 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.038e-05/1.026, allocations: 40.14 kB / 1.22 GB, free: 2.043 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/1.027, allocations: 436.8 kB / 1.221 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.829e-05/1.027, allocations: 44.12 kB / 1.221 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/1.027, allocations: 19.5 kB / 1.221 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/1.027, allocations: 96 / 1.221 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/1.027, allocations: 43.64 kB / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.995e-06/1.027, allocations: 5.359 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002002/1.027, allocations: 54.06 kB / 1.221 GB, free: 1.426 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/1.027, allocations: 78.58 kB / 1.221 GB, free: 1.332 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/1.027, allocations: 163.1 kB / 1.221 GB, free: 1.199 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/1.027, allocations: 25.7 kB / 1.221 GB, free: 1.168 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/1.027, allocations: 104.9 kB / 1.221 GB, free: 1.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/1.027, allocations: 5.641 kB / 1.221 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/1.027, allocations: 16.88 kB / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.028, allocations: 320.9 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/1.028, allocations: 7.312 kB / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.763e-05/1.028, allocations: 23.2 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/1.028, allocations: 29.69 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.028, allocations: 1.219 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.104e-05/1.028, allocations: 58.17 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.028, allocations: 5.781 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.028, allocations: 5.25 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.028, allocations: 0 / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/1.028, allocations: 18.48 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.028, allocations: 4.062 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/1.028, allocations: 6.438 kB / 1.222 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/1.028, allocations: 1.469 kB / 1.222 GB, free: 0.5977 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.0001058/1.028, allocations: 120.6 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/1.028, allocations: 7.828 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/1.028, allocations: 19.45 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/1.028, allocations: 0 / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.028, allocations: 1.125 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.028, allocations: 1.281 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/1.029, allocations: 473.7 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.029, allocations: 0.9688 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/1.029, allocations: 3.156 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/1.029, allocations: 1.125 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/1.029, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.029, allocations: 1.094 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.029, allocations: 1.094 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/1.029, allocations: 90.34 kB / 1.222 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/1.029, allocations: 84.41 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/1.029, allocations: 1.219 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.196e-05/1.029, allocations: 3.984 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/1.029, allocations: 5.031 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/1.029, allocations: 1.062 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001108/1.029, allocations: 129.2 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.029, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002209/1.029, allocations: 7.25 kB / 1.223 GB, free: 15.64 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.0001309/1.029, allocations: 93.97 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001086/1.029, allocations: 18.41 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.029, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/1.029, allocations: 8.25 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/1.03, allocations: 19.55 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/1.03, allocations: 158.6 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/1.03, allocations: 0.6913 MB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.503e-05/1.03, allocations: 12.42 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/1.03, allocations: 15.5 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/1.03, allocations: 0 / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of Templates: time 0.003334/1.034, allocations: 482.7 kB / 1.224 GB, free: 14.41 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.345817469060421]