Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.000876/0.000876, 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.001018/0.001018, 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.9776/0.9776, allocations: 177.2 MB / 204.6 MB, free: 5.484 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 2.014/2.014, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 177] 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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.208e-05, allocations: 3.094 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001555/0.001577, allocations: 0.8659 MB / 0.7609 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001208/0.001698, allocations: 49.78 kB / 0.761 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.001741, allocations: 1.562 kB / 0.761 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.001776, allocations: 11.86 kB / 0.761 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.001853, allocations: 13.73 kB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.031e-05/0.001894, allocations: 15.98 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.35e-05/0.001987, allocations: 62.27 kB / 0.7611 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.002086, allocations: 39.94 kB / 0.7611 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.751e-05/0.002183, allocations: 40.94 kB / 0.7611 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.002224, allocations: 25.16 kB / 0.7612 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.002238, allocations: 4 kB / 0.7612 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-06/0.002245, allocations: 4 kB / 0.7612 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.002263, allocations: 16.73 kB / 0.7612 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.002283, allocations: 11.98 kB / 0.7612 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.187e-05/0.002365, allocations: 48.3 kB / 0.7613 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002367, allocations: 0 / 0.7613 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002368, allocations: 0.75 kB / 0.7613 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.002371, allocations: 0 / 0.7613 GB, free: 5.441 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.0005268/0.002898, allocations: 281.3 kB / 0.7615 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.002931, allocations: 8.031 kB / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.002956, allocations: 17.73 kB / 0.7615 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.003074, allocations: 133.7 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.003083, allocations: 5.75 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.003091, allocations: 8.375 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.305e-05/0.003174, allocations: 79.88 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.003182, allocations: 5.438 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.003189, allocations: 384 / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.003194, allocations: 384 / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.003221, allocations: 23.88 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.00355, allocations: 0.4984 MB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.495e-05/0.003605, allocations: 177.1 kB / 0.7624 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.003625, allocations: 81.39 kB / 0.7625 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.003644, allocations: 79.28 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.003674, allocations: 105.8 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.003675, allocations: 0.6875 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.745e-05/0.003732, allocations: 37.67 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.003767, allocations: 129.4 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.003849, allocations: 148.3 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.003858, allocations: 25.7 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.003909, allocations: 127.8 kB / 0.7631 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.003911, allocations: 0 / 0.7631 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.003937, allocations: 21.67 kB / 0.7632 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.004005, allocations: 326.8 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-06/0.004012, allocations: 6.969 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.004043, allocations: 62.88 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.004093, allocations: 60.25 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.004096, allocations: 4 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.048e-05/0.004186, allocations: 76.11 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.004197, allocations: 4 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.004202, allocations: 4 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.004215, allocations: 0 / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.743e-05/0.004262, allocations: 26.36 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.004266, allocations: 4 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.004289, allocations: 7.938 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.004294, allocations: 4 kB / 0.7637 GB, free: 2.691 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 7.01e-05/0.004364, allocations: 193.1 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.004403, allocations: 108.9 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.004439, allocations: 115.1 kB / 0.7641 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-05/0.004476, allocations: 176.3 kB / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.722e-05/0.004513, allocations: 188.2 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.829e-05/0.004551, allocations: 180.2 kB / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.004678, allocations: 341.3 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/0.004702, allocations: 101 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.004725, allocations: 102 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.103e-05/0.004766, allocations: 184.2 kB / 0.7653 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.004806, allocations: 176.3 kB / 0.7655 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.962e-05/0.004846, allocations: 185.1 kB / 0.7657 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.221e-05/0.004888, allocations: 184.3 kB / 0.7659 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.229e-05/0.00498, allocations: 306 kB / 0.7662 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.00503, allocations: 116.9 kB / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.005076, allocations: 188.1 kB / 0.7664 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.302e-05/0.005119, allocations: 101.3 kB / 0.7665 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.005161, allocations: 180.2 kB / 0.7667 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.005187, allocations: 117 kB / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.446e-05/0.005212, allocations: 26.89 kB / 0.7668 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.005212, allocations: 2.438 kB / 0.7669 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000147/0.005359, allocations: 11.95 kB / 0.7669 GB, free: 15.31 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 8.089e-05/0.00544, allocations: 151.7 kB / 0.767 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.812e-05/0.005498, allocations: 30.28 kB / 0.767 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.005502, allocations: 4 kB / 0.767 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.005504, allocations: 3.938 kB / 0.767 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.005692, allocations: 465.4 kB / 0.7675 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.005894, allocations: 230.7 kB / 0.7677 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.11e-05/0.005926, allocations: 59.34 kB / 0.7678 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.326e-05/0.005959, allocations: 6.25 kB / 0.7678 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.005986, allocations: 55.38 kB / 0.7678 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of SimCode: time 7.61e-07/0.005986, allocations: 0.6562 kB / 0.7678 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.001716/0.007702, allocations: 344 kB / 0.7682 GB, free: 13.95 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.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.0720374239608645]