Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.001874/0.001874, allocations: 113 kB / 17.6 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.002039/0.002039, allocations: 186.8 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.571/1.571, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003062/0.003062, allocations: 67.89 kB / 1.059 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4321, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002289/0.4344, allocations: 0.8293 MB / 1.217 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.4345, allocations: 43.72 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.4346, allocations: 8 kB / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.4346, allocations: 7.875 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.71e-05/0.4347, allocations: 19.8 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.007e-05/0.4347, allocations: 15.98 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.4349, allocations: 63.84 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.435, allocations: 35.95 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/0.4351, allocations: 23.92 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.4352, allocations: 27.8 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.4352, allocations: 8 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.4352, allocations: 4 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.4353, allocations: 27.86 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.4353, allocations: 27.81 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.4354, allocations: 79.56 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4354, allocations: 0 / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4354, allocations: 0 / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4355, allocations: 0 / 1.217 GB, free: 14.08 MB / 0.9669 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.0005551/0.436, allocations: 379.1 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4361, allocations: 12.03 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.4361, allocations: 12.84 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.4364, allocations: 200.1 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.4364, allocations: 8.375 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.4364, allocations: 4.375 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.4366, allocations: 93.36 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4366, allocations: 192 / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.4366, allocations: 7.938 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4366, allocations: 7.938 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.082e-05/0.4367, allocations: 31.98 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.4373, allocations: 444.6 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/0.4374, allocations: 33.28 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.4374, allocations: 21.84 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.4375, allocations: 7.984 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.4375, allocations: 30.56 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.4375, allocations: 3.938 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001865/0.4377, allocations: 57.58 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.4377, allocations: 81.05 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.4379, allocations: 160.5 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.4379, allocations: 29.95 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.438, allocations: 104.1 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.438, allocations: 7.891 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.4381, allocations: 13.72 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4382, allocations: 322.8 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.4383, allocations: 11.94 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.4383, allocations: 13.72 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.962e-05/0.4383, allocations: 33.7 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.4383, allocations: 0 / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.369e-05/0.4384, allocations: 57.55 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4384, allocations: 8 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4384, allocations: 3.938 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4385, allocations: 0 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.4385, allocations: 11.98 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4385, allocations: 0 / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.4386, allocations: 8.062 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.4386, allocations: 4 kB / 1.219 GB, free: 11.64 MB / 0.9669 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 9.737e-05/0.4387, allocations: 117.8 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.4387, allocations: 11.89 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.4387, allocations: 7.812 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4387, allocations: 4 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4387, allocations: 0 / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4387, allocations: 3.984 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.4392, allocations: 478.7 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4392, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.4392, allocations: 8 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4392, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.4392, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4392, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4392, allocations: 4 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.4393, allocations: 81.94 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.4394, allocations: 89 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.4394, allocations: 4 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.809e-05/0.4394, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.4395, allocations: 3.984 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.4395, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000136/0.4396, allocations: 116.9 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4396, allocations: 4.031 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003294/0.4399, allocations: 19.92 kB / 1.22 GB, free: 10.59 MB / 0.9669 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.0001564/0.4401, allocations: 101.9 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.4402, allocations: 19.94 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4402, allocations: 0 / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.711e-05/0.4402, allocations: 4 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.4405, allocations: 12.19 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.4409, allocations: 174.6 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.4414, allocations: 0.6885 MB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.773e-05/0.4414, allocations: 12.36 kB / 1.221 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.4415, allocations: 11.44 kB / 1.221 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of SimCode: time 4.7e-07/0.4415, allocations: 4 kB / 1.221 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of Templates: time 0.004061/0.4455, allocations: 471.2 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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: 8.843774841167033]