Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.001042/0.001042, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008433/0.0008433, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8275/0.8275, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.62/1.62, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.9517 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.012e-05, allocations: 2.281 kB / 0.9517 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001522/0.001552, allocations: 0.783 MB / 0.9525 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000114/0.001666, allocations: 43.78 kB / 0.9525 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.001718, allocations: 4 kB / 0.9526 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.805e-05/0.001756, allocations: 7.875 kB / 0.9526 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.103e-05/0.001837, allocations: 11.88 kB / 0.9526 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.643e-05/0.001883, allocations: 23.95 kB / 0.9526 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.001991, allocations: 63.84 kB / 0.9527 GB, free: 0.9258 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.002124, allocations: 23.98 kB / 0.9527 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.423e-05/0.002219, allocations: 47.83 kB / 0.9527 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.002263, allocations: 15.92 kB / 0.9527 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.002288, allocations: 4 kB / 0.9527 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.002298, allocations: 8 kB / 0.9527 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.00232, allocations: 19.91 kB / 0.9528 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.00235, allocations: 19.92 kB / 0.9528 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.002479, allocations: 79.64 kB / 0.9529 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.002481, allocations: 0 / 0.9529 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.643e-06/0.002483, allocations: 0 / 0.9529 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.002488, allocations: 0 / 0.9529 GB, free: 0.7109 MB / 0.8542 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.0004079/0.002896, allocations: 313.9 kB / 0.9532 GB, free: 380 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.002937, allocations: 8.031 kB / 0.9532 GB, free: 372 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.002971, allocations: 8.891 kB / 0.9532 GB, free: 364 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.003149, allocations: 137.5 kB / 0.9533 GB, free: 200 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.003161, allocations: 4.375 kB / 0.9533 GB, free: 196 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.003174, allocations: 8.375 kB / 0.9533 GB, free: 188 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.003313, allocations: 94.45 kB / 0.9534 GB, free: 84 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.003322, allocations: 4.188 kB / 0.9534 GB, free: 80 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.003333, allocations: 384 / 0.9534 GB, free: 80 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.003339, allocations: 4.312 kB / 0.9534 GB, free: 76 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.703e-05/0.003406, allocations: 43.91 kB / 0.9535 GB, free: 32 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.003829, allocations: 356.3 kB / 0.9538 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.004049, allocations: 45.39 kB / 0.9538 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.004078, allocations: 17.72 kB / 0.9539 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.004085, allocations: 0 / 0.9539 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.004108, allocations: 42.56 kB / 0.9539 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.00411, allocations: 3.938 kB / 0.9539 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001571/0.004267, allocations: 45.69 kB / 0.954 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.004312, allocations: 81.05 kB / 0.954 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.661e-05/0.004408, allocations: 125.8 kB / 0.9541 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-06/0.004417, allocations: 25.7 kB / 0.9542 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.004476, allocations: 115.9 kB / 0.9543 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.958e-06/0.004486, allocations: 11.94 kB / 0.9543 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.004517, allocations: 13.72 kB / 0.9543 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.0046, allocations: 315.1 kB / 0.9546 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.004618, allocations: 12 kB / 0.9546 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.004639, allocations: 21.7 kB / 0.9546 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.494e-05/0.004674, allocations: 21.72 kB / 0.9547 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.004677, allocations: 0 / 0.9547 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.845e-05/0.004745, allocations: 65.58 kB / 0.9547 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.004758, allocations: 4 kB / 0.9547 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.004765, allocations: 0 / 0.9547 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.004779, allocations: 64 / 0.9547 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.004838, allocations: 12 kB / 0.9547 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.004845, allocations: 3.938 kB / 0.9547 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.004861, allocations: 0 / 0.9547 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.004866, allocations: 4 kB / 0.9547 GB, free: 14.57 MB / 0.8698 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 6.589e-05/0.004932, allocations: 117.8 kB / 0.9549 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.004954, allocations: 3.953 kB / 0.9549 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.004976, allocations: 11.45 kB / 0.9549 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.004978, allocations: 3.938 kB / 0.9549 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.004982, allocations: 0 / 0.9549 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.004987, allocations: 3.938 kB / 0.9549 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.00525, allocations: 418.5 kB / 0.9553 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.005252, allocations: 0 / 0.9553 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.005269, allocations: 7.984 kB / 0.9553 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.005271, allocations: 0 / 0.9553 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.005278, allocations: 3.938 kB / 0.9553 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.005281, allocations: 4 kB / 0.9553 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005282, allocations: 0 / 0.9553 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.26e-05/0.005344, allocations: 77.94 kB / 0.9554 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.005361, allocations: 11.89 kB / 0.9554 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.005373, allocations: 8.031 kB / 0.9554 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-06/0.005381, allocations: 0 / 0.9554 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.005396, allocations: 4 kB / 0.9554 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.005399, allocations: 4 kB / 0.9554 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.654e-05/0.005446, allocations: 103.3 kB / 0.9555 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.005446, allocations: 3.938 kB / 0.9555 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001314/0.005577, allocations: 8 kB / 0.9555 GB, free: 13.71 MB / 0.8698 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 9.369e-05/0.005671, allocations: 99.23 kB / 0.9556 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.169e-05/0.005752, allocations: 20 kB / 0.9556 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.005754, allocations: 0 / 0.9556 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-06/0.005762, allocations: 4 kB / 0.9556 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.005883, allocations: 8 kB / 0.9556 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.006172, allocations: 188.4 kB / 0.9558 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.152e-05/0.006223, allocations: 81.59 kB / 0.9559 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.006249, allocations: 12.5 kB / 0.9559 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of SimCode: time 3.61e-07/0.006249, allocations: 4.188 kB / 0.9559 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of Templates: time 0.001685/0.007934, allocations: 0.7941 MB / 0.9567 GB, free: 12.45 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 6.085121614858508]