Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.002116/0.002116, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.002239/0.002238, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.538/1.538, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.863/2.863, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9895/0.9914, allocations: 151.6 MB / 1.167 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002396/0.9939, allocations: 0.8334 MB / 1.168 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001609/0.994, allocations: 43.78 kB / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.732e-05/0.9941, allocations: 0 / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.193e-05/0.9942, allocations: 11.88 kB / 1.168 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.9943, allocations: 11.88 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.746e-05/0.9944, allocations: 23.97 kB / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.9945, allocations: 55.84 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.9947, allocations: 39.98 kB / 1.168 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.797e-05/0.9948, allocations: 27.86 kB / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.9949, allocations: 31.8 kB / 1.168 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.9949, allocations: 4 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.9949, allocations: 8 kB / 1.168 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.9949, allocations: 15.92 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.995, allocations: 35.8 kB / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.9951, allocations: 71.64 kB / 1.168 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.9952, allocations: 4 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9952, allocations: 0 / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.9952, allocations: 4 kB / 1.168 GB, free: 2.707 MB / 0.8887 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.0005577/0.9957, allocations: 376.8 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.9958, allocations: 12.92 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.9959, allocations: 12.84 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.9961, allocations: 196.1 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.9961, allocations: 4.375 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.9962, allocations: 8.375 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.9963, allocations: 104.7 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.9964, allocations: 192 / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.9964, allocations: 7.938 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.9964, allocations: 7.984 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.9965, allocations: 39.92 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.9971, allocations: 432.6 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.209e-05/0.9972, allocations: 49.25 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.9973, allocations: 13.78 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.9973, allocations: 0 / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.9973, allocations: 38.56 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.9973, allocations: 4 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002131/0.9975, allocations: 57.47 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.9976, allocations: 77.11 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.9978, allocations: 157.1 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.9978, allocations: 33.64 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.9979, allocations: 104 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.9979, allocations: 7.906 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.9979, allocations: 13.97 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9981, allocations: 326.8 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.9981, allocations: 4 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.45e-05/0.9981, allocations: 17.72 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/0.9982, allocations: 29.64 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9982, allocations: 0 / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.31e-05/0.9983, allocations: 65.55 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.9983, allocations: 4 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.9983, allocations: 0 / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.9984, allocations: 3.938 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.9984, allocations: 11.98 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.9984, allocations: 0 / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.9985, allocations: 11.84 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.9985, allocations: 0 / 1.171 GB, free: 276 kB / 0.8887 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 9.357e-05/0.9986, allocations: 113.8 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.9986, allocations: 11.97 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.9987, allocations: 15.81 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9987, allocations: 0 / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9987, allocations: 0 / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.9988, allocations: 89 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.9988, allocations: 0 / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/0.9989, allocations: 0 / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.9989, allocations: 0 / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000163/0.9991, allocations: 204.2 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002056/0.9993, allocations: 301.9 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.016e-05/0.9993, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001257/0.9995, allocations: 121.5 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of Backend: time 4.21e-07/0.9995, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.9999, allocations: 94.44 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006152/1.001, allocations: 0.6044 MB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.003043/1.004, allocations: 0.5318 MB / 1.173 GB, free: 14.08 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches