Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001456/0.001456, allocations: 103 kB / 16.27 MB, free: 6.414 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.001407/0.001407, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.629/2.629, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 74.11 kB / 0.9245 GB, free: 8 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7315/0.7334, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002192/0.7356, allocations: 0.8226 MB / 1.084 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.769e-05/0.7357, allocations: 41.55 kB / 1.084 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.7358, allocations: 1.219 kB / 1.084 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.673e-05/0.7358, allocations: 13.64 kB / 1.084 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.7359, allocations: 9.922 kB / 1.084 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.975e-05/0.736, allocations: 20.08 kB / 1.084 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.7361, allocations: 59.05 kB / 1.084 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.7362, allocations: 46.06 kB / 1.084 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.319e-05/0.7363, allocations: 33.72 kB / 1.084 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.7363, allocations: 26.34 kB / 1.084 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.7364, allocations: 6.812 kB / 1.084 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.7364, allocations: 6.312 kB / 1.084 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.7364, allocations: 12.16 kB / 1.084 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.7364, allocations: 37.5 kB / 1.084 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.7366, allocations: 72.19 kB / 1.084 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7366, allocations: 0 / 1.084 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7366, allocations: 0 / 1.084 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7366, allocations: 4 kB / 1.084 GB, free: 0.8984 MB / 0.8262 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.000346/0.7369, allocations: 380.9 kB / 1.084 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.737, allocations: 9.531 kB / 1.084 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.737, allocations: 9.953 kB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.7372, allocations: 195.9 kB / 1.085 GB, free: 296 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.7372, allocations: 7.406 kB / 1.085 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.7372, allocations: 5.875 kB / 1.085 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.7374, allocations: 94.72 kB / 1.085 GB, free: 220 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7374, allocations: 4.125 kB / 1.085 GB, free: 216 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.7374, allocations: 5.344 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.7374, allocations: 2.094 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.078e-05/0.7375, allocations: 40.12 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.738, allocations: 434.3 kB / 1.085 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.229e-05/0.7381, allocations: 42.39 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.7381, allocations: 24.53 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.7381, allocations: 0 / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.7381, allocations: 41.44 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.7382, allocations: 0 / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001698/0.7383, allocations: 52 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.7384, allocations: 82.33 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.7386, allocations: 160.7 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.7386, allocations: 25.7 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.7387, allocations: 103.2 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.7387, allocations: 14.62 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.7387, allocations: 18.47 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7389, allocations: 323.7 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.7389, allocations: 7.125 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.7389, allocations: 16.28 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.739, allocations: 27.5 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.739, allocations: 4 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.194e-05/0.7391, allocations: 58.16 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7391, allocations: 4.906 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7391, allocations: 5.328 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7391, allocations: 1 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.7392, allocations: 6.516 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.7392, allocations: 0.75 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.472e-05/0.7392, allocations: 6.469 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.7392, allocations: 5.094 kB / 1.086 GB, free: 14.82 MB / 0.8419 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.669e-05/0.7393, allocations: 119.1 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.7394, allocations: 8.375 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.7394, allocations: 15.84 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7394, allocations: 1.156 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.7394, allocations: 1.875 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.7394, allocations: 0 / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.7398, allocations: 475.2 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.7398, allocations: 0 / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.7399, allocations: 7.984 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7399, allocations: 2.125 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.7399, allocations: 1.094 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7399, allocations: 0 / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7399, allocations: 0.7188 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.101e-05/0.74, allocations: 85.94 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.7401, allocations: 102.5 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.7401, allocations: 1.188 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.7401, allocations: 0 / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.7401, allocations: 2.531 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.7401, allocations: 5.406 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.877e-05/0.7402, allocations: 119.4 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7402, allocations: 1.219 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001824/0.7404, allocations: 10.75 kB / 1.087 GB, free: 13.89 MB / 0.8419 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.0001149/0.7406, allocations: 101.5 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.579e-05/0.7406, allocations: 19.36 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7407, allocations: 0 / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.321e-05/0.7407, allocations: 9.828 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.7408, allocations: 13.59 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.7412, allocations: 186.3 kB / 1.087 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.7415, allocations: 0.6922 MB / 1.088 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.7415, allocations: 11.34 kB / 1.088 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.7415, allocations: 4 kB / 1.088 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.002349/0.7439, allocations: 0.8515 MB / 1.089 GB, free: 12.84 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches