Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001029/0.001029, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.000961/0.000961, allocations: 177 kB / 23.36 MB, free: 1.129 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.9393/0.9393, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.427/2.427, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 7.938 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.743e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001966/0.001993, allocations: 0.8139 MB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000117/0.00211, allocations: 43.72 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.002154, allocations: 4 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.002185, allocations: 7.875 kB / 0.8394 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.329e-05/0.002258, allocations: 15.88 kB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.57e-05/0.002294, allocations: 19.97 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.68e-05/0.002381, allocations: 67.77 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.002476, allocations: 27.97 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.002566, allocations: 43.89 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.877e-05/0.002605, allocations: 15.92 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.002623, allocations: 4 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-06/0.00263, allocations: 8 kB / 0.8396 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.002654, allocations: 11.92 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.002675, allocations: 19.92 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.971e-05/0.002755, allocations: 43.77 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002757, allocations: 4 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002758, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.002761, allocations: 3.938 kB / 0.8397 GB, free: 13.05 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.0002577/0.003019, allocations: 284.5 kB / 0.84 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.00305, allocations: 8.031 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.003076, allocations: 12.94 kB / 0.84 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.003184, allocations: 129.7 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.003197, allocations: 8.375 kB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.003208, allocations: 8.375 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.303e-05/0.003292, allocations: 83.78 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.003298, allocations: 192 / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.003306, allocations: 4.375 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.003313, allocations: 4.375 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.003338, allocations: 27.84 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.003664, allocations: 0.5011 MB / 0.8407 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.826e-05/0.003722, allocations: 173.1 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.003742, allocations: 80.14 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.003759, allocations: 75.28 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.003791, allocations: 109.8 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.003791, allocations: 4 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.506e-05/0.003836, allocations: 33.72 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.003881, allocations: 134.7 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.003962, allocations: 140.5 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.003969, allocations: 25.7 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.004016, allocations: 127.8 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.004018, allocations: 0 / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.004044, allocations: 29.66 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.004118, allocations: 322.8 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-06/0.004124, allocations: 4 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.004157, allocations: 58.84 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.004212, allocations: 70.73 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.004214, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.889e-05/0.004292, allocations: 73.5 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.004303, allocations: 11.98 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.004307, allocations: 3.938 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.004319, allocations: 4 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.958e-05/0.004359, allocations: 12 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.004362, allocations: 3.938 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.004384, allocations: 7.938 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.004389, allocations: 4 kB / 0.8422 GB, free: 10.28 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 6.835e-05/0.004458, allocations: 197.3 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.004495, allocations: 112.9 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.00454, allocations: 108.8 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-05/0.004577, allocations: 180.2 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-05/0.00462, allocations: 184.2 kB / 0.8429 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.92e-05/0.004659, allocations: 184.3 kB / 0.8431 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.004784, allocations: 333.3 kB / 0.8434 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/0.004807, allocations: 101 kB / 0.8435 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.00483, allocations: 105 kB / 0.8436 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.905e-05/0.004869, allocations: 180.2 kB / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/0.00491, allocations: 180.2 kB / 0.844 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.856e-05/0.004949, allocations: 188.4 kB / 0.8442 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.852e-05/0.004987, allocations: 176.5 kB / 0.8443 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.122e-05/0.005078, allocations: 323.7 kB / 0.8446 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.005113, allocations: 108.9 kB / 0.8447 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.005158, allocations: 180.2 kB / 0.8449 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.311e-05/0.005201, allocations: 101 kB / 0.845 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.005246, allocations: 188.2 kB / 0.8452 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.005268, allocations: 105 kB / 0.8453 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.45e-05/0.005293, allocations: 28.83 kB / 0.8453 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005293, allocations: 4 kB / 0.8453 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001297/0.005422, allocations: 7.953 kB / 0.8453 GB, free: 6.895 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 9.488e-05/0.005517, allocations: 155.7 kB / 0.8455 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.701e-05/0.005574, allocations: 36.75 kB / 0.8455 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.005577, allocations: 0 / 0.8455 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.00558, allocations: 7.938 kB / 0.8455 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.005757, allocations: 461.2 kB / 0.8459 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.005955, allocations: 224 kB / 0.8462 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.874e-05/0.005984, allocations: 59.84 kB / 0.8462 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.006017, allocations: 12.72 kB / 0.8462 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.006042, allocations: 55.31 kB / 0.8463 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of SimCode: time 3.41e-07/0.006043, allocations: 0 / 0.8463 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of Templates: time 0.001586/0.007629, allocations: 344.4 kB / 0.8466 GB, free: 5.504 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.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.2294860682450235]