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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001005/0.001005, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 175.8 kB / 16.92 MB, free: 6.652 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.458/1.458, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004994, allocations: 12 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8971/0.8976, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.00112/0.8988, allocations: 0.5345 MB / 0.9562 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001493/0.899, allocations: 45.17 kB / 0.9563 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.8991, allocations: 1 kB / 0.9563 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.8991, allocations: 9.438 kB / 0.9563 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.8992, allocations: 3.938 kB / 0.9563 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.271e-05/0.8993, allocations: 23.58 kB / 0.9563 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.8994, allocations: 54.44 kB / 0.9564 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.8996, allocations: 35.41 kB / 0.9564 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.894e-05/0.8996, allocations: 22 kB / 0.9564 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.8997, allocations: 23.83 kB / 0.9564 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.8997, allocations: 1.125 kB / 0.9564 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.8997, allocations: 2.125 kB / 0.9564 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.8997, allocations: 10.52 kB / 0.9565 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.8998, allocations: 54.56 kB / 0.9565 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.027e-05/0.8999, allocations: 47.42 kB / 0.9566 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8999, allocations: 1.438 kB / 0.9566 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8999, allocations: 0 / 0.9566 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.8999, allocations: 0 / 0.9566 GB, free: 7.016 MB / 0.7169 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.000377/0.9003, allocations: 365.5 kB / 0.9569 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9003, allocations: 9.062 kB / 0.9569 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.9004, allocations: 13.03 kB / 0.9569 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.9006, allocations: 198.8 kB / 0.9571 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.9006, allocations: 11.97 kB / 0.9571 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.9006, allocations: 4.812 kB / 0.9571 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.9008, allocations: 95.42 kB / 0.9572 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.9008, allocations: 4.188 kB / 0.9572 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.9008, allocations: 5.125 kB / 0.9572 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.9009, allocations: 1.219 kB / 0.9572 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.9009, allocations: 36.42 kB / 0.9573 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.9014, allocations: 437.3 kB / 0.9577 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.636e-05/0.9015, allocations: 41.47 kB / 0.9577 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.9015, allocations: 20.25 kB / 0.9577 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.9016, allocations: 0 / 0.9577 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.9016, allocations: 36.25 kB / 0.9578 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.9016, allocations: 7.938 kB / 0.9578 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.9018, allocations: 58.62 kB / 0.9578 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.9018, allocations: 78.05 kB / 0.9579 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.9019, allocations: 165.1 kB / 0.9581 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.902, allocations: 25.7 kB / 0.9581 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.902, allocations: 105.2 kB / 0.9582 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.902, allocations: 5 kB / 0.9582 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.9021, allocations: 15.06 kB / 0.9582 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.9021, allocations: 325.1 kB / 0.9585 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.9022, allocations: 2.844 kB / 0.9585 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.9022, allocations: 19.38 kB / 0.9585 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.9022, allocations: 25.66 kB / 0.9586 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9022, allocations: 1.031 kB / 0.9586 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.664e-05/0.9023, allocations: 62.72 kB / 0.9586 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.9024, allocations: 5.156 kB / 0.9586 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.9024, allocations: 5.344 kB / 0.9586 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.9024, allocations: 0 / 0.9586 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.9025, allocations: 10.41 kB / 0.9587 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.9025, allocations: 0 / 0.9587 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.9025, allocations: 10.61 kB / 0.9587 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.9025, allocations: 1.094 kB / 0.9587 GB, free: 4.855 MB / 0.7169 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 6.569e-05/0.9026, allocations: 113.8 kB / 0.9588 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.9026, allocations: 11.75 kB / 0.9588 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.9027, allocations: 18.38 kB / 0.9588 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.9027, allocations: 5 kB / 0.9588 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9027, allocations: 1 kB / 0.9588 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9027, allocations: 0 / 0.9588 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.903, allocations: 470.2 kB / 0.9593 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.903, allocations: 0.9375 kB / 0.9593 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.903, allocations: 3.125 kB / 0.9593 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.903, allocations: 4.781 kB / 0.9593 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.9031, allocations: 1.062 kB / 0.9593 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.9031, allocations: 1 kB / 0.9593 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9031, allocations: 1.062 kB / 0.9593 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.747e-05/0.9032, allocations: 86.3 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.9032, allocations: 91.66 kB / 0.9594 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.9032, allocations: 5.281 kB / 0.9594 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/0.9032, allocations: 1.375 kB / 0.9594 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.9033, allocations: 0 / 0.9594 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.9033, allocations: 1.375 kB / 0.9594 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.9034, allocations: 123.7 kB / 0.9596 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9034, allocations: 0 / 0.9596 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001938/0.9036, allocations: 11.59 kB / 0.9596 GB, free: 3.902 MB / 0.7169 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.0001147/0.9037, allocations: 100.5 kB / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.159e-05/0.9038, allocations: 23.91 kB / 0.9597 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9038, allocations: 0 / 0.9597 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/0.9038, allocations: 3.125 kB / 0.9597 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.904, allocations: 10.84 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.9043, allocations: 214.6 kB / 0.9599 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.9045, allocations: 0.695 MB / 0.9606 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.9045, allocations: 11.03 kB / 0.9606 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.9045, allocations: 0 / 0.9606 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of Templates: time 0.002431/0.9069, allocations: 0.8489 MB / 0.9614 GB, free: 2.43 MB / 0.7169 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