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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00147/0.00147, allocations: 102.7 kB / 16.4 MB, free: 6.461 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.001627/0.001628, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.597/2.597, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 63.91 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9819/0.9836, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002305/0.9859, allocations: 0.827 MB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.9861, allocations: 39.84 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.9862, allocations: 0 / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.897e-05/0.9862, allocations: 11.86 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.623e-05/0.9864, allocations: 7.875 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.155e-05/0.9864, allocations: 23.98 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.9866, allocations: 59.84 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.9867, allocations: 51.89 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.9868, allocations: 27.81 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.9869, allocations: 27.84 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.9869, allocations: 8 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.9869, allocations: 4 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.9869, allocations: 15.94 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.987, allocations: 35.8 kB / 1.21 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.9871, allocations: 75.64 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9871, allocations: 0 / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9872, allocations: 0 / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.9872, allocations: 0 / 1.21 GB, free: 12.43 MB / 0.9356 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.0004842/0.9877, allocations: 388.8 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.9877, allocations: 8.031 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.9878, allocations: 12.78 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.988, allocations: 188.2 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.988, allocations: 8.375 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.988, allocations: 8.359 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.9882, allocations: 93.77 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9882, allocations: 4.188 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.9883, allocations: 7.938 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.9883, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.9883, allocations: 39.92 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.9889, allocations: 432.6 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.989, allocations: 53.12 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.989, allocations: 25.83 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.9891, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.9891, allocations: 30.56 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9891, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001923/0.9893, allocations: 57.7 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.9893, allocations: 81.11 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.9895, allocations: 160.7 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.9895, allocations: 25.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.9896, allocations: 104 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.365e-06/0.9896, allocations: 3.906 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.9896, allocations: 21.7 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.9898, allocations: 318.8 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.9898, allocations: 12.02 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.9898, allocations: 17.72 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/0.9899, allocations: 29.66 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.9899, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/0.99, allocations: 57.53 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.99, allocations: 8 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.99, allocations: 8 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.99, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.9901, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.9901, allocations: 7.938 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.9902, allocations: 3.906 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.9902, allocations: 3.984 kB / 1.212 GB, free: 10 MB / 0.9356 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.452e-05/0.9902, allocations: 113.8 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.9903, allocations: 7.906 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.9903, allocations: 19.8 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9903, allocations: 4 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.9903, allocations: 0 / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.9904, allocations: 4 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.9907, allocations: 470.8 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.9907, allocations: 4 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.9908, allocations: 0 / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.9908, allocations: 4 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.9908, allocations: 4.062 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9908, allocations: 0 / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.9908, allocations: 3.984 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.047e-05/0.9909, allocations: 77.78 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.991, allocations: 97.03 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.991, allocations: 3.984 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/0.991, allocations: 8.031 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.991, allocations: 3.938 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.991, allocations: 0 / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.749e-05/0.9911, allocations: 121.3 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9911, allocations: 0 / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001913/0.9913, allocations: 11.91 kB / 1.213 GB, free: 8.945 MB / 0.9356 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.000137/0.9915, allocations: 97.22 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.921e-05/0.9916, allocations: 27.92 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9916, allocations: 0 / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.9916, allocations: 8 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.9918, allocations: 11.94 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.9921, allocations: 184.4 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.9924, allocations: 0.7004 MB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.9924, allocations: 11.44 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.9924, allocations: 0 / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of Templates: time 0.002375/0.9948, allocations: 0.8637 MB / 1.214 GB, free: 6.973 MB / 0.9356 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 -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