Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001552/0.00279, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002479, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09627/1.116, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.881/1.881, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6334/2.514, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 1.094 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.275e-05, allocations: 6.312 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001203/0.001216, allocations: 0.8622 MB / 0.7302 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 7.443e-05/0.001291, allocations: 43.72 kB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.001327, allocations: 5.266 kB / 0.7302 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.00135, allocations: 13.27 kB / 0.7302 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.41e-05/0.001395, allocations: 13.45 kB / 0.7303 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.916e-05/0.001424, allocations: 16.86 kB / 0.7303 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.001504, allocations: 61.05 kB / 0.7303 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.001579, allocations: 33.36 kB / 0.7304 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.00165, allocations: 47.22 kB / 0.7304 GB, free: 3.473 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.171e-05/0.001682, allocations: 18.11 kB / 0.7304 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.001697, allocations: 8.938 kB / 0.7304 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.001704, allocations: 4 kB / 0.7304 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.001716, allocations: 12.81 kB / 0.7304 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.001738, allocations: 19.94 kB / 0.7305 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 6.829e-05/0.001807, allocations: 39.77 kB / 0.7305 GB, free: 3.375 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.001818, allocations: 1.438 kB / 0.7305 GB, free: 3.375 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.12e-07/0.001819, allocations: 4 kB / 0.7305 GB, free: 3.371 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.001834, allocations: 0 / 0.7305 GB, free: 3.371 MB / 0.698 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.0003008/0.002134, allocations: 285 kB / 0.7308 GB, free: 3.066 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.002163, allocations: 8.031 kB / 0.7308 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.002188, allocations: 17.61 kB / 0.7308 GB, free: 3.043 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.002302, allocations: 141.5 kB / 0.7309 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.002317, allocations: 10.09 kB / 0.731 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.002324, allocations: 4.375 kB / 0.731 GB, free: 2.867 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.858e-05/0.002413, allocations: 85.89 kB / 0.731 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.00242, allocations: 4.188 kB / 0.731 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.002426, allocations: 5.25 kB / 0.731 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.002431, allocations: 384 / 0.731 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.816e-05/0.00246, allocations: 23.88 kB / 0.7311 GB, free: 2.742 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.002764, allocations: 0.5018 MB / 0.7316 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.53e-05/0.002819, allocations: 174.2 kB / 0.7317 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.002839, allocations: 80.14 kB / 0.7318 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.002857, allocations: 80.16 kB / 0.7319 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.002888, allocations: 105.8 kB / 0.732 GB, free: 1.754 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 5.92e-07/0.002889, allocations: 0.625 kB / 0.732 GB, free: 1.754 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 4.194e-05/0.002931, allocations: 29.7 kB / 0.732 GB, free: 1.719 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.002974, allocations: 135.3 kB / 0.7321 GB, free: 1.574 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/0.00305, allocations: 148.6 kB / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.003057, allocations: 27.45 kB / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.003107, allocations: 127.8 kB / 0.7324 GB, free: 1.258 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-06/0.003112, allocations: 0 / 0.7324 GB, free: 1.258 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.003135, allocations: 21.67 kB / 0.7324 GB, free: 1.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.003209, allocations: 326.8 kB / 0.7328 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.003216, allocations: 4.656 kB / 0.7328 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.003245, allocations: 55.78 kB / 0.7328 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.639e-05/0.003301, allocations: 65.12 kB / 0.7329 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.003305, allocations: 4.531 kB / 0.7329 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.44e-05/0.003389, allocations: 75.08 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.0034, allocations: 5.781 kB / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.003405, allocations: 4 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.003414, allocations: 3.984 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.003458, allocations: 16 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.003462, allocations: 0 / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.003482, allocations: 13.16 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.003487, allocations: 4 kB / 0.733 GB, free: 0.6094 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 6.422e-05/0.003551, allocations: 194.8 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.003586, allocations: 112.9 kB / 0.7333 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.003623, allocations: 120.8 kB / 0.7334 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.69e-05/0.00367, allocations: 180.3 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.901e-05/0.003709, allocations: 180.2 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.816e-05/0.003747, allocations: 185 kB / 0.7339 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.004147, allocations: 329.4 kB / 0.7342 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/0.004171, allocations: 109.7 kB / 0.7343 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.004193, allocations: 105 kB / 0.7344 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.004236, allocations: 110.2 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.759e-05/0.004273, allocations: 184.2 kB / 0.7347 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.004309, allocations: 176.3 kB / 0.7349 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.803e-05/0.004347, allocations: 185.1 kB / 0.7351 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.482e-05/0.004382, allocations: 176.5 kB / 0.7352 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.618e-05/0.004468, allocations: 319.7 kB / 0.7355 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.00451, allocations: 177 kB / 0.7357 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.189e-05/0.004551, allocations: 104.9 kB / 0.7358 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.004591, allocations: 185.2 kB / 0.736 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.004614, allocations: 108.9 kB / 0.7361 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.994e-05/0.004634, allocations: 23.27 kB / 0.7361 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004634, allocations: 0 / 0.7361 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001166/0.004751, allocations: 16.67 kB / 0.7361 GB, free: 13.23 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 7.211e-05/0.004823, allocations: 156.9 kB / 0.7363 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.397e-05/0.004877, allocations: 30.08 kB / 0.7363 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.004881, allocations: 4 kB / 0.7363 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.52e-07/0.004881, allocations: 2.75 kB / 0.7363 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.005052, allocations: 463.6 kB / 0.7368 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.005244, allocations: 235.9 kB / 0.737 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.038e-05/0.005275, allocations: 56.53 kB / 0.737 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.005304, allocations: 7.062 kB / 0.737 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.005331, allocations: 55.38 kB / 0.7371 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/0.005332, allocations: 0 / 0.7371 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.001576/0.006908, allocations: 343 kB / 0.7374 GB, free: 11.86 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.01099663041532]