Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 103.5 kB / 16.35 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 193.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 66.34 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3503, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002578/0.3529, allocations: 0.8404 MB / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.353, allocations: 39.73 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.3531, allocations: 4 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.962e-05/0.3532, allocations: 7.922 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.3533, allocations: 7.875 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.105e-05/0.3533, allocations: 23.98 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.3534, allocations: 67.77 kB / 0.9521 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.3536, allocations: 39.97 kB / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.3537, allocations: 19.94 kB / 0.9521 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.214e-05/0.3538, allocations: 35.78 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.3538, allocations: 4 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.3539, allocations: 8 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.3539, allocations: 11.94 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.3539, allocations: 31.8 kB / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.3541, allocations: 79.64 kB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3541, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3541, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3541, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 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.0005658/0.3547, allocations: 387.1 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3547, allocations: 8.031 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.3548, allocations: 8.844 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.355, allocations: 192.2 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3551, allocations: 12.31 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.3551, allocations: 4.375 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.3553, allocations: 95.84 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3553, allocations: 192 / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.3553, allocations: 11.94 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.619e-06/0.3554, allocations: 0 / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.11e-05/0.3554, allocations: 39.92 kB / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.3561, allocations: 428.7 kB / 0.9534 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.627e-05/0.3562, allocations: 45.19 kB / 0.9535 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.3562, allocations: 21.83 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.3563, allocations: 4 kB / 0.9535 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.3563, allocations: 30.56 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3563, allocations: 3.938 kB / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002163/0.3565, allocations: 53.73 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.3566, allocations: 85.11 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.3568, allocations: 165.2 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3568, allocations: 29.7 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.3569, allocations: 104 kB / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.3569, allocations: 7.906 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.357, allocations: 13.72 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3571, allocations: 318.8 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.3572, allocations: 12 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.3572, allocations: 21.64 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.3572, allocations: 29.72 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3572, allocations: 0 / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.356e-05/0.3573, allocations: 53.55 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3574, allocations: 7.984 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3574, allocations: 12 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3574, allocations: 0 / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.3575, allocations: 4 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3575, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.3575, allocations: 11.84 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3575, allocations: 0 / 0.9544 GB, free: 4.406 MB / 0.7325 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 7.674e-05/0.3576, allocations: 115.8 kB / 0.9545 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3576, allocations: 11.84 kB / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.3577, allocations: 19.8 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3577, allocations: 8 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3577, allocations: 0 / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3577, allocations: 4 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.3581, allocations: 466.8 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3581, allocations: 4 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.577e-05/0.3581, allocations: 0 / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3581, allocations: 4 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.3582, allocations: 4.062 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3582, allocations: 3.938 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3582, allocations: 0 / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.974e-05/0.3582, allocations: 77.83 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.3583, allocations: 93 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.3583, allocations: 0 / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.3584, allocations: 4 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.3584, allocations: 4.031 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.3584, allocations: 0 / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.43e-05/0.3585, allocations: 120.7 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3585, allocations: 0 / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000181/0.3587, allocations: 11.94 kB / 0.9553 GB, free: 3.363 MB / 0.7325 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.0001243/0.3588, allocations: 99.28 kB / 0.9554 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.689e-05/0.3589, allocations: 16 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3589, allocations: 4.125 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.3589, allocations: 15.92 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.3591, allocations: 15 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.3594, allocations: 158.8 kB / 0.9556 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3598, allocations: 0.7001 MB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.3598, allocations: 8.438 kB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.3598, allocations: 11.44 kB / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.3598, allocations: 0 / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of Templates: time 0.002709/0.3625, allocations: 452.5 kB / 0.9568 GB, free: 1.832 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches