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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001381/0.001381, allocations: 112.6 kB / 16.37 MB, free: 6 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.001542/0.001542, allocations: 196 kB / 17.31 MB, free: 5.613 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.449/1.449, 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 11.0.0-master/package.mo): time 2.52/2.52, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.28 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3203, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002143/0.3225, allocations: 0.8409 MB / 1.028 GB, free: 1.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001277/0.3226, allocations: 43.78 kB / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.3227, allocations: 0 / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.21e-05/0.3227, allocations: 7.875 kB / 1.028 GB, free: 1.148 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.3228, allocations: 11.92 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.044e-05/0.3229, allocations: 15.98 kB / 1.028 GB, free: 1.121 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.323, allocations: 63.78 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.3232, allocations: 47.95 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.762e-05/0.3232, allocations: 27.86 kB / 1.028 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.3233, allocations: 27.8 kB / 1.028 GB, free: 0.957 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.3233, allocations: 12 kB / 1.028 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.3233, allocations: 4 kB / 1.028 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.3233, allocations: 15.92 kB / 1.028 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.3234, allocations: 31.8 kB / 1.028 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3235, allocations: 79.64 kB / 1.028 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3235, allocations: 0 / 1.028 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3235, allocations: 0 / 1.028 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.3235, allocations: 0 / 1.028 GB, free: 0.8164 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.0004145/0.3239, allocations: 371.2 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.324, allocations: 12.03 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.324, allocations: 16.83 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.3242, allocations: 188.2 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3243, allocations: 12.28 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.3243, allocations: 4.375 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3244, allocations: 91.95 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3244, allocations: 192 / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3245, allocations: 3.938 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3245, allocations: 4 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3246, allocations: 43.91 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.3251, allocations: 432.5 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.456e-05/0.3252, allocations: 45.22 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.3252, allocations: 25.84 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.3252, allocations: 0 / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3253, allocations: 38.48 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3253, allocations: 0 / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001772/0.3254, allocations: 57.48 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.3255, allocations: 77.36 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.3257, allocations: 167.9 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.3257, allocations: 25.7 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.3258, allocations: 104 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-06/0.3258, allocations: 7.906 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.3258, allocations: 13.72 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.326, allocations: 326.8 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.326, allocations: 8 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/0.326, allocations: 17.72 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.212e-05/0.326, allocations: 29.7 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3261, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.976e-05/0.3261, allocations: 53.55 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3262, allocations: 8 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3262, allocations: 3.938 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3262, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.3263, allocations: 16.05 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3263, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.3263, allocations: 11.84 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3263, allocations: 8 kB / 1.03 GB, free: 14.38 MB / 0.8106 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.546e-05/0.3264, allocations: 113.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.3265, allocations: 11.91 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.3265, allocations: 7.812 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3265, allocations: 8.062 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3265, allocations: 7.938 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3265, allocations: 4 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.3269, allocations: 466.8 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3269, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.327, allocations: 7.938 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.327, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.327, allocations: 3.938 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.327, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.327, allocations: 4.062 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.856e-05/0.3271, allocations: 81.83 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.3271, allocations: 85.02 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.3272, allocations: 4 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.3272, allocations: 0 / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.3272, allocations: 3.984 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.3272, allocations: 4.031 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.987e-05/0.3273, allocations: 125.6 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3273, allocations: 3.938 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001851/0.3275, allocations: 8 kB / 1.031 GB, free: 13.33 MB / 0.8106 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.0001119/0.3276, allocations: 99.25 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.612e-05/0.3277, allocations: 16 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3277, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.349e-05/0.3277, allocations: 12.06 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.3279, allocations: 14.28 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.3282, allocations: 158.8 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3285, allocations: 0.6885 MB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.3286, allocations: 12.55 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.3286, allocations: 11.44 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3286, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.002453/0.331, allocations: 456.5 kB / 1.032 GB, free: 11.8 MB / 0.8106 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 -s gbode -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