Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.001022/0.001022, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001002/0.001002, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9395/0.9395, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.855/1.855, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.392e-05, allocations: 6.422 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002466/0.00249, allocations: 0.8202 MB / 0.7608 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001388/0.002629, allocations: 48.84 kB / 0.7609 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.002678, allocations: 0 / 0.7609 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.002717, allocations: 8.844 kB / 0.7609 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.374e-05/0.0028, allocations: 18.27 kB / 0.7609 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.568e-05/0.002846, allocations: 19.98 kB / 0.7609 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.002954, allocations: 57.91 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.003065, allocations: 36.64 kB / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.003178, allocations: 46.25 kB / 0.7611 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.003216, allocations: 13.62 kB / 0.7611 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.003237, allocations: 7.938 kB / 0.7611 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.003245, allocations: 4 kB / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.003265, allocations: 11.98 kB / 0.7611 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.003291, allocations: 24.83 kB / 0.7611 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.388e-05/0.003385, allocations: 43.7 kB / 0.7612 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003387, allocations: 2.062 kB / 0.7612 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003388, allocations: 0 / 0.7612 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.003393, allocations: 4 kB / 0.7612 GB, free: 5.492 MB / 0.7136 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.000588/0.003981, allocations: 280.5 kB / 0.7614 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.004014, allocations: 12.03 kB / 0.7614 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.004044, allocations: 12.94 kB / 0.7615 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.004172, allocations: 134.3 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.004183, allocations: 8.375 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.004196, allocations: 5.125 kB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.0043, allocations: 76.72 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004307, allocations: 192 / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.004316, allocations: 4.375 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.004324, allocations: 6.562 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.169e-05/0.004355, allocations: 23.86 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.004737, allocations: 0.4972 MB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/0.004803, allocations: 173.1 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.004832, allocations: 81.61 kB / 0.7624 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.004852, allocations: 75.28 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.004885, allocations: 109.9 kB / 0.7626 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 5.92e-07/0.004885, allocations: 0 / 0.7626 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.43e-05/0.00493, allocations: 34.94 kB / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.004978, allocations: 130.7 kB / 0.7628 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.192e-05/0.00506, allocations: 145 kB / 0.7629 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.005068, allocations: 26.95 kB / 0.7629 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.005115, allocations: 127.8 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.005117, allocations: 0 / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.005145, allocations: 29.66 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.005213, allocations: 325.7 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.005219, allocations: 4 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.005254, allocations: 62.81 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.194e-05/0.005306, allocations: 69.55 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005307, allocations: 0 / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.18e-05/0.005389, allocations: 70.02 kB / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.005403, allocations: 11.19 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.005408, allocations: 0 / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.00542, allocations: 4 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-05/0.005467, allocations: 16.5 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.00547, allocations: 0 / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.005492, allocations: 12.59 kB / 0.7636 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.005496, allocations: 4 kB / 0.7636 GB, free: 2.75 MB / 0.7136 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 6.524e-05/0.005562, allocations: 196.2 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.005597, allocations: 108.9 kB / 0.7639 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.005632, allocations: 108.8 kB / 0.764 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-05/0.005672, allocations: 192.2 kB / 0.7642 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.585e-05/0.005708, allocations: 176.3 kB / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-05/0.005747, allocations: 176.3 kB / 0.7645 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.005875, allocations: 341.3 kB / 0.7649 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/0.005899, allocations: 105 kB / 0.765 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.005921, allocations: 108 kB / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.126e-05/0.005962, allocations: 184.2 kB / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.006002, allocations: 176.3 kB / 0.7654 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.724e-05/0.006039, allocations: 184.2 kB / 0.7656 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-05/0.006077, allocations: 176.3 kB / 0.7658 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.006198, allocations: 311.7 kB / 0.7661 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.006247, allocations: 116.9 kB / 0.7662 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.006305, allocations: 180.3 kB / 0.7663 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.006358, allocations: 107.1 kB / 0.7664 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.00641, allocations: 184.2 kB / 0.7666 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.006435, allocations: 105 kB / 0.7667 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.656e-05/0.006462, allocations: 24.83 kB / 0.7667 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.006462, allocations: 0 / 0.7667 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001304/0.006592, allocations: 16.67 kB / 0.7668 GB, free: 15.38 MB / 0.7292 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.0001041/0.006697, allocations: 154.1 kB / 0.7669 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.839e-05/0.006755, allocations: 32.66 kB / 0.7669 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.006761, allocations: 4 kB / 0.7669 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.006762, allocations: 6.875 kB / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.006949, allocations: 463.6 kB / 0.7674 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.007159, allocations: 231.9 kB / 0.7676 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.845e-05/0.007188, allocations: 55.36 kB / 0.7677 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.007221, allocations: 10.28 kB / 0.7677 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.007247, allocations: 51.38 kB / 0.7677 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.007247, allocations: 1.281 kB / 0.7677 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.001699/0.008946, allocations: 344.5 kB / 0.7681 GB, free: 14.01 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.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.008953705895692]