Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001644/0.001643, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001856/0.001856, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 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.218/2.218, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 71.83 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.933/0.9344, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002956/0.9374, allocations: 0.8164 MB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.9376, allocations: 43.89 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.9377, allocations: 2.156 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.486e-05/0.9378, allocations: 9.938 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.9379, allocations: 9.719 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.385e-05/0.938, allocations: 19.95 kB / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.9381, allocations: 60.05 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.9384, allocations: 37.34 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.9384, allocations: 30.17 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.9385, allocations: 33.5 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.9386, allocations: 6.781 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.9386, allocations: 5.312 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.9386, allocations: 17.42 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.525e-05/0.9387, allocations: 32.92 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.9389, allocations: 69.02 kB / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.9389, allocations: 7.938 kB / 1.09 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.238e-06/0.9389, allocations: 1.125 kB / 1.09 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.9389, allocations: 0.5156 kB / 1.09 GB, free: 4.777 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.0005231/0.9394, allocations: 377.9 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.9395, allocations: 9.406 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.9396, allocations: 13.94 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.9398, allocations: 196 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.9398, allocations: 4.109 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.9399, allocations: 12.84 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.9401, allocations: 97.78 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9401, allocations: 192 / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.9401, allocations: 5.062 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.9401, allocations: 2.281 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.9403, allocations: 36.03 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006738/0.941, allocations: 437.8 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.913e-05/0.941, allocations: 42.28 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.9411, allocations: 23.59 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.9411, allocations: 1.062 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.9412, allocations: 44.27 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.9412, allocations: 0 / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002091/0.9414, allocations: 57.48 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.9414, allocations: 78.89 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.9416, allocations: 159 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.9416, allocations: 25.7 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.9417, allocations: 103.4 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.908e-06/0.9417, allocations: 9.828 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.9418, allocations: 18.36 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.9419, allocations: 319.9 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.9419, allocations: 3.906 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/0.9419, allocations: 19.62 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.535e-05/0.942, allocations: 27.78 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.942, allocations: 4 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001241/0.9421, allocations: 57.94 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.9422, allocations: 9.562 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.9422, allocations: 4.812 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.9422, allocations: 4.672 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.9423, allocations: 6.453 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.9423, allocations: 0.7188 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.9424, allocations: 6.938 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.9424, allocations: 1.562 kB / 1.092 GB, free: 2.707 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 7.74e-05/0.9425, allocations: 118 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.9425, allocations: 8.469 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.9426, allocations: 16.72 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.9426, allocations: 0.9375 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9426, allocations: 0.7969 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9426, allocations: 0.875 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.9431, allocations: 478.7 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.9431, allocations: 0.6875 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.9431, allocations: 3.422 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.9431, allocations: 1.938 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-06/0.9431, allocations: 4 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.9431, allocations: 1.797 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9432, allocations: 0 / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.9433, allocations: 88.67 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.9433, allocations: 90.72 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.9433, allocations: 1.719 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.989e-05/0.9434, allocations: 5.312 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.9434, allocations: 1.828 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.9434, allocations: 1.828 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001192/0.9435, allocations: 120.8 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9436, allocations: 0 / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002805/0.9438, allocations: 6.438 kB / 1.093 GB, free: 1.785 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 0.0001355/0.944, allocations: 102.4 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.9441, allocations: 23.55 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9441, allocations: 1.219 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.9442, allocations: 7.859 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.9444, allocations: 7.922 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.9448, allocations: 195.8 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.9451, allocations: 0.6925 MB / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.9452, allocations: 11.66 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.9452, allocations: 0 / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of Templates: time 0.004746/0.9499, allocations: 0.869 MB / 1.095 GB, free: 16.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches