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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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.001125/0.001125, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001108/0.001108, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 66.36 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002169/0.3152, allocations: 0.823 MB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.3153, allocations: 43.78 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.3154, allocations: 4 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.175e-05/0.3154, allocations: 11.86 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.187e-05/0.3155, allocations: 11.88 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.251e-05/0.3156, allocations: 15.98 kB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.3157, allocations: 63.75 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.3159, allocations: 51.95 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.316, allocations: 23.88 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.316, allocations: 35.77 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.316, allocations: 4 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.3161, allocations: 8 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.3161, allocations: 7.938 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.3161, allocations: 35.8 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.3162, allocations: 83.64 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3163, allocations: 0 / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3163, allocations: 0 / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3163, allocations: 0 / 1.02 GB, free: 8.613 MB / 0.795 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.0004424/0.3167, allocations: 375.2 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3168, allocations: 8.922 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3168, allocations: 8.844 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.317, allocations: 192.2 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.317, allocations: 8.375 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3171, allocations: 8.375 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.3172, allocations: 99.78 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3173, allocations: 8.109 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3173, allocations: 3.938 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3173, allocations: 4 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.873e-05/0.3174, allocations: 39.98 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.3179, allocations: 436.5 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.318, allocations: 37.22 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.318, allocations: 21.77 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.318, allocations: 4 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3181, allocations: 38.59 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3181, allocations: 0 / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.3182, allocations: 53.48 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3183, allocations: 77.11 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3184, allocations: 160.7 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.3185, allocations: 25.7 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.3185, allocations: 108.2 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.876e-06/0.3186, allocations: 11.91 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.3186, allocations: 17.7 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3187, allocations: 314.8 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.3187, allocations: 8 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.3188, allocations: 17.7 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.3188, allocations: 37.66 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3188, allocations: 3.938 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.742e-05/0.3189, allocations: 53.59 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3189, allocations: 4 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3189, allocations: 7.938 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.319, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.319, allocations: 7.938 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.319, allocations: 0 / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.3191, allocations: 15.84 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.3191, allocations: 0 / 1.022 GB, free: 6.18 MB / 0.795 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 8.009e-05/0.3192, allocations: 116.3 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.3192, allocations: 11.91 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.3193, allocations: 15.8 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3193, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3193, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3193, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.3196, allocations: 478.8 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3196, allocations: 4 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.69e-05/0.3197, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3197, allocations: 4 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.3197, allocations: 3.938 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3197, allocations: 0 / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3197, allocations: 0 / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.543e-05/0.3198, allocations: 85.83 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.3199, allocations: 93 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3199, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.3199, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.3199, allocations: 4 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3199, allocations: 4 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.747e-05/0.32, allocations: 121.9 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.32, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001796/0.3202, allocations: 8 kB / 1.023 GB, free: 5.141 MB / 0.795 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.0001175/0.3203, allocations: 103.3 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.092e-05/0.3204, allocations: 23.92 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3204, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.3204, allocations: 4 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.3206, allocations: 14.75 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.3209, allocations: 167 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.3211, allocations: 0.6928 MB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.862e-05/0.3212, allocations: 4.438 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.3212, allocations: 11.44 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of SimCode: time 2.335e-06/0.3212, allocations: 0 / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of Templates: time 0.002485/0.3237, allocations: 462 kB / 1.024 GB, free: 3.605 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches