Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.595/2.595, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 71.88 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9183/0.9205, allocations: 140.3 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002056/0.9226, allocations: 0.8205 MB / 0.9504 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001059/0.9227, allocations: 45.44 kB / 0.9504 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.9228, allocations: 5.469 kB / 0.9504 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.9228, allocations: 7.875 kB / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.329e-05/0.9229, allocations: 9.375 kB / 0.9505 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.767e-05/0.9229, allocations: 23.12 kB / 0.9505 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.9231, allocations: 52.27 kB / 0.9505 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.9232, allocations: 49.08 kB / 0.9506 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.9233, allocations: 23.98 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.9234, allocations: 31.31 kB / 0.9506 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.9234, allocations: 6.094 kB / 0.9506 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.78e-05/0.9234, allocations: 6.312 kB / 0.9506 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.9234, allocations: 18.16 kB / 0.9507 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.9235, allocations: 34.27 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.793e-05/0.9236, allocations: 82.58 kB / 0.9508 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.9236, allocations: 1.375 kB / 0.9508 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9236, allocations: 0 / 0.9508 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.9236, allocations: 0 / 0.9508 GB, free: 8.289 MB / 0.7169 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.000355/0.924, allocations: 381.6 kB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.924, allocations: 8.469 kB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.924, allocations: 8.75 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.9242, allocations: 186.2 kB / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.9242, allocations: 11.78 kB / 0.9513 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.9243, allocations: 9.094 kB / 0.9513 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.9244, allocations: 95.72 kB / 0.9514 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.9244, allocations: 192 / 0.9514 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.9244, allocations: 5.312 kB / 0.9514 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.9245, allocations: 1.406 kB / 0.9514 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.638e-05/0.9245, allocations: 40.27 kB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.925, allocations: 433.1 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.925, allocations: 41.09 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.9251, allocations: 19.3 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.9251, allocations: 5.438 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.9251, allocations: 36.12 kB / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9251, allocations: 0 / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001524/0.9253, allocations: 53.86 kB / 0.952 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.9253, allocations: 78.55 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.9254, allocations: 164 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.9254, allocations: 29.95 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.9255, allocations: 111.6 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-06/0.9255, allocations: 9.172 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.9255, allocations: 17.47 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.9256, allocations: 325.3 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.9256, allocations: 3.875 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.9256, allocations: 26.11 kB / 0.9528 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.9257, allocations: 26.62 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9257, allocations: 0 / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.132e-05/0.9257, allocations: 63.09 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.9258, allocations: 5.688 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.9258, allocations: 7.938 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9258, allocations: 1.156 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.9259, allocations: 5.5 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.9259, allocations: 1.125 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.9259, allocations: 6.156 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.9259, allocations: 5.062 kB / 0.9529 GB, free: 6.121 MB / 0.7169 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 4.987e-05/0.926, allocations: 113.1 kB / 0.953 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.926, allocations: 8 kB / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.926, allocations: 18.98 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.926, allocations: 1.406 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9261, allocations: 0 / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.9261, allocations: 1.438 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.9263, allocations: 478.2 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9263, allocations: 0 / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.9264, allocations: 3.594 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.9264, allocations: 1.312 kB / 0.9535 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.9264, allocations: 7.938 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.9264, allocations: 1.375 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9264, allocations: 0 / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.631e-05/0.9264, allocations: 83.08 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.9265, allocations: 91.62 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.9265, allocations: 1.688 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/0.9265, allocations: 0 / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.9265, allocations: 5.281 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.9265, allocations: 1.125 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.9266, allocations: 128.3 kB / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9266, allocations: 0 / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001881/0.9268, allocations: 7.625 kB / 0.9538 GB, free: 5.168 MB / 0.7169 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 8.792e-05/0.9269, allocations: 100.4 kB / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.505e-05/0.927, allocations: 18.09 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.927, allocations: 1.188 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.927, allocations: 16.11 kB / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.9272, allocations: 7.094 kB / 0.9539 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.9274, allocations: 153.5 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.9275, allocations: 0.702 MB / 0.9548 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.9276, allocations: 4.562 kB / 0.9548 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.9276, allocations: 11.34 kB / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9276, allocations: 1.219 kB / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of Templates: time 0.002299/0.9299, allocations: 456.8 kB / 0.9552 GB, free: 3.953 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches