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.001548/0.001548, allocations: 109 kB / 17.08 MB, free: 6.012 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.001542/0.001543, allocations: 197.1 kB / 20.03 MB, free: 3.082 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.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.65/2.65, allocations: 437.1 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] 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.002004/0.002004, allocations: 71.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 151.6 MB / 1.176 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002028/0.3124, allocations: 0.8355 MB / 1.177 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001237/0.3125, allocations: 47.8 kB / 1.177 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.3126, allocations: 0 / 1.177 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.3126, allocations: 7.875 kB / 1.177 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.3127, allocations: 7.922 kB / 1.177 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.352e-05/0.3128, allocations: 23.97 kB / 1.177 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3129, allocations: 63.78 kB / 1.177 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.313, allocations: 39.98 kB / 1.177 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.3131, allocations: 23.92 kB / 1.177 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.3132, allocations: 27.8 kB / 1.177 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3132, allocations: 8 kB / 1.177 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.3132, allocations: 4 kB / 1.177 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.3132, allocations: 23.92 kB / 1.177 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.3133, allocations: 31.75 kB / 1.177 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.3134, allocations: 79.56 kB / 1.177 GB, free: 4.707 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3134, allocations: 0 / 1.177 GB, free: 4.707 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3134, allocations: 0 / 1.177 GB, free: 4.707 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3134, allocations: 0 / 1.177 GB, free: 4.707 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.0004625/0.3139, allocations: 379.1 kB / 1.177 GB, free: 4.285 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3139, allocations: 8.031 kB / 1.177 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.314, allocations: 12.84 kB / 1.177 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.3142, allocations: 212.1 kB / 1.178 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3143, allocations: 4.375 kB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.3143, allocations: 8.375 kB / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3145, allocations: 84.89 kB / 1.178 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3145, allocations: 192 / 1.178 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3145, allocations: 11.94 kB / 1.178 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3145, allocations: 0 / 1.178 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.029e-05/0.3146, allocations: 39.92 kB / 1.178 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.3152, allocations: 440.6 kB / 1.178 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.47e-05/0.3153, allocations: 41.28 kB / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.3153, allocations: 17.84 kB / 1.178 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.3153, allocations: 4 kB / 1.178 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3154, allocations: 30.56 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.3154, allocations: 0 / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002219/0.3156, allocations: 61.52 kB / 1.178 GB, free: 3.188 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.3157, allocations: 81.11 kB / 1.178 GB, free: 3.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.3159, allocations: 161 kB / 1.179 GB, free: 2.926 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3159, allocations: 29.95 kB / 1.179 GB, free: 2.891 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.316, allocations: 108 kB / 1.179 GB, free: 2.781 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.455e-06/0.316, allocations: 3.953 kB / 1.179 GB, free: 2.777 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-05/0.3161, allocations: 17.72 kB / 1.179 GB, free: 2.754 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3163, allocations: 322.8 kB / 1.179 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.3163, allocations: 0 / 1.179 GB, free: 2.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.3163, allocations: 21.72 kB / 1.179 GB, free: 2.402 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.3164, allocations: 25.72 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3164, allocations: 0 / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.389e-05/0.3165, allocations: 65.53 kB / 1.179 GB, free: 2.301 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3165, allocations: 8 kB / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.477e-05/0.3166, allocations: 3.938 kB / 1.179 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3166, allocations: 0 / 1.179 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/0.3167, allocations: 4 kB / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3167, allocations: 4 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.3167, allocations: 8.047 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3168, allocations: 7.938 kB / 1.179 GB, free: 2.266 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 9.129e-05/0.3168, allocations: 113.8 kB / 1.179 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3169, allocations: 7.953 kB / 1.179 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.3169, allocations: 15.81 kB / 1.179 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3169, allocations: 0 / 1.179 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3169, allocations: 4 kB / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.317, allocations: 0 / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.3174, allocations: 478.7 kB / 1.18 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.3174, allocations: 3.984 kB / 1.18 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.3174, allocations: 8.094 kB / 1.18 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3175, allocations: 3.984 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.3175, allocations: 0 / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3175, allocations: 0 / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3175, allocations: 0 / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.293e-05/0.3176, allocations: 81.95 kB / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.3176, allocations: 92.98 kB / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3177, allocations: 4 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.3177, allocations: 0 / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.3177, allocations: 3.938 kB / 1.18 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.3177, allocations: 0 / 1.18 GB, free: 1.348 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001089/0.3178, allocations: 123.2 kB / 1.18 GB, free: 1.227 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3178, allocations: 4.031 kB / 1.18 GB, free: 1.223 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001903/0.318, allocations: 8 kB / 1.18 GB, free: 1.215 MB / 0.92 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.0001254/0.3182, allocations: 99.23 kB / 1.18 GB, free: 1.109 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3183, allocations: 20 kB / 1.18 GB, free: 1.09 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3183, allocations: 0 / 1.18 GB, free: 1.09 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.3183, allocations: 7.938 kB / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.3185, allocations: 13.66 kB / 1.18 GB, free: 1.07 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.3189, allocations: 192.5 kB / 1.18 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.3192, allocations: 0.6929 MB / 1.181 GB, free: 124 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.3193, allocations: 11.44 kB / 1.181 GB, free: 112 kB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.3193, allocations: 0 / 1.181 GB, free: 112 kB / 0.92 GB Notification: Performance of Templates: time 0.002596/0.3219, allocations: 0.8638 MB / 1.182 GB, free: 15.24 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.021141748060472]