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.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.0009524/0.0009524, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001051/0.001051, allocations: 173.4 kB / 23.36 MB, free: 1.133 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 0.9738/0.9738, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.463/2.463, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.451e-05, allocations: 14.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002653/0.002678, allocations: 0.8062 MB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002608/0.002938, allocations: 47.72 kB / 0.8394 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.003023, allocations: 4 kB / 0.8394 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.633e-05/0.00308, allocations: 11.88 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.003212, allocations: 15.8 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 8.203e-05/0.003294, allocations: 15.98 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.003455, allocations: 63.84 kB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.003627, allocations: 27.95 kB / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.003797, allocations: 47.83 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.003856, allocations: 15.92 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.003885, allocations: 4 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.003899, allocations: 8 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.003928, allocations: 11.92 kB / 0.8396 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.003966, allocations: 23.92 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.004116, allocations: 39.78 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.004124, allocations: 7.984 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.713e-06/0.004126, allocations: 0 / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.004134, allocations: 0 / 0.8397 GB, free: 13.03 MB / 0.8073 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.0004914/0.004625, allocations: 284.5 kB / 0.84 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.004682, allocations: 8.625 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.004731, allocations: 12.92 kB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.004941, allocations: 129.6 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.004961, allocations: 4.375 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.004982, allocations: 12.38 kB / 0.8401 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.005148, allocations: 87.77 kB / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.005159, allocations: 192 / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.00517, allocations: 384 / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.005182, allocations: 4.375 kB / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.525e-05/0.005237, allocations: 23.86 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007566/0.005994, allocations: 0.5011 MB / 0.8407 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.006119, allocations: 169.1 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.006155, allocations: 84.08 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.006185, allocations: 75.28 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.006244, allocations: 117.8 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 2.635e-06/0.006246, allocations: 0 / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.485e-05/0.006321, allocations: 33.72 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.006386, allocations: 126.7 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.00653, allocations: 148.7 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.006542, allocations: 25.7 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.006618, allocations: 123.8 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-06/0.006622, allocations: 3.984 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.006668, allocations: 29.66 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.006776, allocations: 322.8 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.006793, allocations: 11.98 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/0.006846, allocations: 58.86 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.122e-05/0.006937, allocations: 66.72 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.00694, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001481/0.007089, allocations: 77.48 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.00711, allocations: 8 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.007118, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.007137, allocations: 4 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.007209, allocations: 12 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.007217, allocations: 7.922 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.00726, allocations: 7.938 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.007267, allocations: 4.25 kB / 0.8422 GB, free: 10.26 MB / 0.8073 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.0001078/0.007375, allocations: 197.1 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.00746, allocations: 108.9 kB / 0.8425 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.183e-05/0.007522, allocations: 112.8 kB / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-05/0.00758, allocations: 180.3 kB / 0.8428 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.649e-05/0.007637, allocations: 180.2 kB / 0.8429 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/0.007695, allocations: 180.3 kB / 0.8431 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.007915, allocations: 333.3 kB / 0.8434 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.007949, allocations: 101 kB / 0.8435 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.007991, allocations: 109 kB / 0.8436 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.94e-05/0.008051, allocations: 180.2 kB / 0.8438 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/0.008118, allocations: 184.3 kB / 0.844 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.353e-05/0.008181, allocations: 188.1 kB / 0.8442 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.185e-05/0.008243, allocations: 180.5 kB / 0.8443 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.008407, allocations: 319.7 kB / 0.8446 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.008464, allocations: 108.9 kB / 0.8447 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.00853, allocations: 184.2 kB / 0.8449 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.008605, allocations: 105 kB / 0.845 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.008707, allocations: 180.3 kB / 0.8452 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.008743, allocations: 104.9 kB / 0.8453 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.008784, allocations: 24.83 kB / 0.8453 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.008784, allocations: 8 kB / 0.8453 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002589/0.009043, allocations: 7.953 kB / 0.8453 GB, free: 6.871 MB / 0.8073 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.0001826/0.009226, allocations: 159.2 kB / 0.8455 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.163e-05/0.009307, allocations: 24.8 kB / 0.8455 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.009312, allocations: 0 / 0.8455 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.009316, allocations: 3.938 kB / 0.8455 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.00961, allocations: 465.2 kB / 0.8459 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.01007, allocations: 232 kB / 0.8462 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.083e-05/0.01011, allocations: 63.34 kB / 0.8462 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.774e-05/0.01016, allocations: 8.719 kB / 0.8462 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.0102, allocations: 51.38 kB / 0.8463 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of SimCode: time 9.62e-07/0.0102, allocations: 0 / 0.8463 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of Templates: time 0.002613/0.01282, allocations: 340.7 kB / 0.8466 GB, free: 5.492 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] 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","",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.134869050234556]