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.001577/0.001577, allocations: 112.8 kB / 16.41 MB, free: 6.484 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.001795/0.001795, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.54/1.54, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001468, allocations: 63.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8212, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001996/0.8233, allocations: 0.8161 MB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.8234, allocations: 45.53 kB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.8235, allocations: 2 kB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.8235, allocations: 13.42 kB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.466e-05/0.8236, allocations: 14.23 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.84e-05/0.8237, allocations: 19.94 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.8238, allocations: 59.27 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.8239, allocations: 38.22 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.824, allocations: 30.55 kB / 1.09 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/0.8241, allocations: 30.78 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.8241, allocations: 5.344 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.8241, allocations: 6.938 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.8241, allocations: 16.62 kB / 1.09 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.8242, allocations: 32.23 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.8243, allocations: 77.66 kB / 1.09 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8243, allocations: 0 / 1.09 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8243, allocations: 4 kB / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.8243, allocations: 1.281 kB / 1.09 GB, free: 4.734 MB / 0.8575 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.0003636/0.8247, allocations: 373.6 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.8247, allocations: 9.5 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.8248, allocations: 13.59 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.8249, allocations: 193.4 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.825, allocations: 2.562 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.825, allocations: 9.562 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.8251, allocations: 98.92 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.8251, allocations: 192 / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.8252, allocations: 9.281 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.8252, allocations: 2.281 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.879e-05/0.8253, allocations: 40.5 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.8257, allocations: 437.8 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.246e-05/0.8258, allocations: 49.83 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.8258, allocations: 15.8 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.8258, allocations: 1.703 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.8258, allocations: 32.17 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.8258, allocations: 4 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001776/0.826, allocations: 60.52 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.8261, allocations: 78.05 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.8262, allocations: 155.2 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.8262, allocations: 30.86 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.8263, allocations: 103.7 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.8263, allocations: 9.75 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.8263, allocations: 21.73 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.8264, allocations: 320.8 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.8264, allocations: 3.578 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.8264, allocations: 19.19 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.8265, allocations: 27.98 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8265, allocations: 0.5625 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.191e-05/0.8265, allocations: 64.67 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.8266, allocations: 5.797 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.8266, allocations: 5.031 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.8266, allocations: 1.125 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.8266, allocations: 5.891 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8267, allocations: 1.828 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.8267, allocations: 5.812 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.8267, allocations: 1.125 kB / 1.092 GB, free: 2.668 MB / 0.8575 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.951e-05/0.8267, allocations: 119.2 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.8268, allocations: 7.281 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.8268, allocations: 16.97 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.8268, allocations: 1.375 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8268, allocations: 0 / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8268, allocations: 2.109 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.8271, allocations: 465.9 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8271, allocations: 5.703 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.8272, allocations: 7.797 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.8272, allocations: 0 / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.8272, allocations: 5.062 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8272, allocations: 1.922 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8272, allocations: 4.969 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.206e-05/0.8273, allocations: 79.92 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.8273, allocations: 94.72 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.8273, allocations: 1.156 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.114e-05/0.8273, allocations: 0.875 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.8274, allocations: 2 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.8274, allocations: 2.031 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.334e-05/0.8274, allocations: 124.9 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8274, allocations: 0 / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000186/0.8276, allocations: 7.219 kB / 1.093 GB, free: 1.75 MB / 0.8575 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.486e-05/0.8277, allocations: 102.1 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.622e-05/0.8278, allocations: 24.55 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8278, allocations: 0 / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.8278, allocations: 4.812 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.828, allocations: 18.48 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.8283, allocations: 191.1 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.8284, allocations: 0.6967 MB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.8285, allocations: 11.12 kB / 1.094 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/0.8285, allocations: 0 / 1.094 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of Templates: time 0.002534/0.831, allocations: 0.8696 MB / 1.095 GB, free: 16.66 MB / 0.8731 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/jenkins1/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