Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00162/0.00162, allocations: 112.6 kB / 16.42 MB, free: 6.508 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.00186/0.00186, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.464/1.464, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.09, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002554/1.093, allocations: 0.8327 MB / 1.227 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001785/1.093, allocations: 39.78 kB / 1.227 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/1.093, allocations: 4 kB / 1.227 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.082e-05/1.093, allocations: 7.875 kB / 1.227 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/1.093, allocations: 15.86 kB / 1.227 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 6.224e-05/1.093, allocations: 19.98 kB / 1.227 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/1.094, allocations: 55.84 kB / 1.227 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/1.094, allocations: 51.88 kB / 1.227 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/1.094, allocations: 23.86 kB / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/1.094, allocations: 31.8 kB / 1.227 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/1.094, allocations: 4 kB / 1.227 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/1.094, allocations: 8 kB / 1.227 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/1.094, allocations: 15.91 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/1.094, allocations: 31.81 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/1.094, allocations: 71.22 kB / 1.228 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.094, allocations: 7.938 kB / 1.228 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.964e-06/1.094, allocations: 0 / 1.228 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.124e-06/1.094, allocations: 0 / 1.228 GB, free: 12.32 MB / 0.9512 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.0005148/1.095, allocations: 376.1 kB / 1.228 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/1.095, allocations: 12.03 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/1.095, allocations: 12.84 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/1.095, allocations: 196.2 kB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/1.095, allocations: 8.375 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/1.095, allocations: 4.375 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/1.095, allocations: 105.4 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.095, allocations: 192 / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/1.095, allocations: 3.938 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/1.095, allocations: 4 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/1.095, allocations: 35.98 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/1.096, allocations: 436.7 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.944e-05/1.096, allocations: 49.2 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/1.096, allocations: 17.78 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/1.096, allocations: 0 / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/1.096, allocations: 38.59 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/1.096, allocations: 0 / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002205/1.097, allocations: 65.45 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/1.097, allocations: 77.11 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/1.097, allocations: 160.3 kB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/1.097, allocations: 25.7 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/1.097, allocations: 104 kB / 1.229 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/1.097, allocations: 11.95 kB / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/1.097, allocations: 13.67 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.097, allocations: 327.1 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/1.097, allocations: 8 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/1.097, allocations: 13.72 kB / 1.23 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/1.097, allocations: 29.7 kB / 1.23 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.097, allocations: 3.938 kB / 1.23 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.882e-05/1.097, allocations: 57.59 kB / 1.23 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.097, allocations: 8.062 kB / 1.23 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.097, allocations: 0 / 1.23 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.097, allocations: 3.938 kB / 1.23 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/1.097, allocations: 15.98 kB / 1.23 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.097, allocations: 3.938 kB / 1.23 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/1.097, allocations: 7.938 kB / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/1.097, allocations: 0 / 1.23 GB, free: 9.871 MB / 0.9512 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.014e-05/1.098, allocations: 113.8 kB / 1.23 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/1.098, allocations: 7.953 kB / 1.23 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/1.098, allocations: 19.81 kB / 1.23 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.098, allocations: 0 / 1.23 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.098, allocations: 3.984 kB / 1.23 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/1.098, allocations: 93.02 kB / 1.23 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/1.098, allocations: 0 / 1.23 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/1.098, allocations: 0 / 1.23 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/1.098, allocations: 0 / 1.23 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001465/1.098, allocations: 204.2 kB / 1.23 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002147/1.098, allocations: 298.1 kB / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.429e-05/1.098, allocations: 7.938 kB / 1.23 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.299e-05/1.098, allocations: 121.5 kB / 1.23 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of Backend: time 4.4e-07/1.098, allocations: 0 / 1.23 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000468/1.099, allocations: 90.44 kB / 1.231 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005468/1.099, allocations: 0.612 MB / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of Templates: time 0.002869/1.102, allocations: 0.5262 MB / 1.232 GB, free: 7.68 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches