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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 86.05 kB / 19.87 MB, free: 4.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009562/0.0009562, allocations: 165.7 kB / 23.27 MB, free: 1.215 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.328/2.328, allocations: 438.1 MB / 0.682 GB, free: 14.21 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.654e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002179/0.002206, allocations: 0.8179 MB / 0.8906 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.00237, allocations: 43.78 kB / 0.8906 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.002428, allocations: 0 / 0.8906 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.049e-05/0.002468, allocations: 11.86 kB / 0.8906 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.536e-05/0.002563, allocations: 11.81 kB / 0.8906 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 5.388e-05/0.002617, allocations: 19.98 kB / 0.8906 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.002727, allocations: 59.84 kB / 0.8907 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.002851, allocations: 35.95 kB / 0.8907 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.002969, allocations: 39.84 kB / 0.8908 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.003014, allocations: 23.91 kB / 0.8908 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.003032, allocations: 4 kB / 0.8908 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.003041, allocations: 4 kB / 0.8908 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.003063, allocations: 11.94 kB / 0.8908 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.003093, allocations: 19.91 kB / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.003195, allocations: 47.77 kB / 0.8909 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.003199, allocations: 0 / 0.8909 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.192e-06/0.0032, allocations: 0 / 0.8909 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.003206, allocations: 4 kB / 0.8909 GB, free: 8.641 MB / 0.8542 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.000396/0.003602, allocations: 412.2 kB / 0.8913 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.003647, allocations: 8.625 kB / 0.8913 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.003685, allocations: 20.84 kB / 0.8913 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.003829, allocations: 136.5 kB / 0.8914 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.003841, allocations: 4.375 kB / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.003853, allocations: 8.375 kB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.003981, allocations: 91.7 kB / 0.8915 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.003989, allocations: 192 / 0.8915 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.003998, allocations: 4.375 kB / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.004004, allocations: 4.375 kB / 0.8915 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.004043, allocations: 27.8 kB / 0.8916 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.004593, allocations: 0.7186 MB / 0.8923 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.614e-05/0.004689, allocations: 265.4 kB / 0.8925 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.004727, allocations: 130.9 kB / 0.8926 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.004761, allocations: 119.2 kB / 0.8928 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/0.004815, allocations: 156.6 kB / 0.8929 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.004816, allocations: 0 / 0.8929 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.721e-05/0.004884, allocations: 33.69 kB / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.004942, allocations: 178.6 kB / 0.8931 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.005072, allocations: 207.8 kB / 0.8933 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.005081, allocations: 25.7 kB / 0.8933 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.005175, allocations: 174.5 kB / 0.8935 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.005177, allocations: 0 / 0.8935 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.005217, allocations: 31.33 kB / 0.8935 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.005365, allocations: 0.4884 MB / 0.894 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.005376, allocations: 4 kB / 0.894 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.005428, allocations: 81.47 kB / 0.8941 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.993e-05/0.005508, allocations: 85.38 kB / 0.8942 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00551, allocations: 0 / 0.8942 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001364/0.005647, allocations: 81.72 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.005661, allocations: 8.031 kB / 0.8943 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.005667, allocations: 0 / 0.8943 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.00568, allocations: 4 kB / 0.8943 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.005743, allocations: 19.92 kB / 0.8943 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.005747, allocations: 4 kB / 0.8943 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.005787, allocations: 15.89 kB / 0.8943 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.005791, allocations: 0 / 0.8943 GB, free: 4.848 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 0.0001043/0.005895, allocations: 283.7 kB / 0.8946 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.005964, allocations: 156.8 kB / 0.8947 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.082e-05/0.006035, allocations: 160.7 kB / 0.8949 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.508e-05/0.00611, allocations: 268.1 kB / 0.8951 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.459e-05/0.006184, allocations: 276 kB / 0.8954 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.939e-05/0.006254, allocations: 268 kB / 0.8956 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.006477, allocations: 492.4 kB / 0.8961 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/0.006518, allocations: 152.9 kB / 0.8963 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.006556, allocations: 144.9 kB / 0.8964 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.185e-05/0.006628, allocations: 276 kB / 0.8967 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.152e-05/0.0067, allocations: 268.1 kB / 0.8969 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.171e-05/0.006771, allocations: 268 kB / 0.8972 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-05/0.006844, allocations: 272.1 kB / 0.8974 GB, free: 1.504 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.007002, allocations: 456.1 kB / 0.8979 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.007067, allocations: 156.8 kB / 0.898 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.00715, allocations: 276 kB / 0.8983 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.29e-05/0.007243, allocations: 148.9 kB / 0.8984 GB, free: 452 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.00732, allocations: 268 kB / 0.8987 GB, free: 176 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.007364, allocations: 144.9 kB / 0.8988 GB, free: 24 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.901e-05/0.007443, allocations: 145 kB / 0.899 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.007443, allocations: 0 / 0.899 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002706/0.007713, allocations: 12 kB / 0.899 GB, free: 15.87 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001425/0.007856, allocations: 214.4 kB / 0.8992 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.652e-05/0.007942, allocations: 39.53 kB / 0.8992 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.007944, allocations: 0 / 0.8992 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/0.007947, allocations: 3.938 kB / 0.8992 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.008357, allocations: 0.7062 MB / 0.8999 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.008657, allocations: 273.7 kB / 0.9002 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.008697, allocations: 59.34 kB / 0.9002 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.589e-05/0.008743, allocations: 13.22 kB / 0.9002 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.008783, allocations: 70.2 kB / 0.9003 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of SimCode: time 9.22e-07/0.008784, allocations: 0 / 0.9003 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of Templates: time 0.003406/0.01219, allocations: 336.8 kB / 0.9006 GB, free: 14.11 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1608810420148075]