Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.00186/0.00186, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.0022/0.0022, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.419/3.419, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0.7656 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/2.967e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00204/0.00207, allocations: 0.8019 MB / 0.8782 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001223/0.002192, allocations: 41.09 kB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.002244, allocations: 4 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.002278, allocations: 11.81 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.535e-05/0.002364, allocations: 12.77 kB / 0.8783 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.443e-05/0.002418, allocations: 19.98 kB / 0.8783 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.002539, allocations: 59.84 kB / 0.8784 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.002664, allocations: 33 kB / 0.8784 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.277e-05/0.002747, allocations: 39.84 kB / 0.8785 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.002808, allocations: 20.55 kB / 0.8785 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.002831, allocations: 8 kB / 0.8785 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.002841, allocations: 5.812 kB / 0.8785 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.002864, allocations: 15.94 kB / 0.8785 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.002909, allocations: 19.92 kB / 0.8785 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.003029, allocations: 67.77 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003031, allocations: 0 / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003032, allocations: 3.625 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003036, allocations: 4 kB / 0.8786 GB, free: 5.484 MB / 0.8386 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.0005172/0.003553, allocations: 407.9 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.003587, allocations: 8.031 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.003641, allocations: 20.83 kB / 0.879 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.003845, allocations: 136.5 kB / 0.8791 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.003869, allocations: 8.375 kB / 0.8791 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.003882, allocations: 4.375 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.004057, allocations: 101.5 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.004069, allocations: 5.078 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.004077, allocations: 4.312 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.004088, allocations: 9.438 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.004173, allocations: 39.92 kB / 0.8793 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006337/0.004807, allocations: 475.5 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.004909, allocations: 54.12 kB / 0.8798 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.004957, allocations: 28.53 kB / 0.8798 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.004969, allocations: 96 / 0.8798 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.005004, allocations: 38.36 kB / 0.8799 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.005005, allocations: 0 / 0.8799 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001931/0.005198, allocations: 50.22 kB / 0.8799 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.005264, allocations: 88.7 kB / 0.88 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.005444, allocations: 193.8 kB / 0.8802 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.005463, allocations: 25.7 kB / 0.8802 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.005577, allocations: 158.7 kB / 0.8804 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.005588, allocations: 7.953 kB / 0.8804 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.00563, allocations: 19.38 kB / 0.8804 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002726/0.005903, allocations: 0.4923 MB / 0.8809 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.005924, allocations: 8 kB / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.005955, allocations: 19.38 kB / 0.8809 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.624e-05/0.006011, allocations: 35.94 kB / 0.8809 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.006015, allocations: 4.594 kB / 0.8809 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.146e-05/0.006107, allocations: 54.36 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.00612, allocations: 4.938 kB / 0.881 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006125, allocations: 0 / 0.881 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.006141, allocations: 7.938 kB / 0.881 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.0062, allocations: 4.844 kB / 0.881 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.006208, allocations: 3.938 kB / 0.881 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.006234, allocations: 5.062 kB / 0.881 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.006238, allocations: 4 kB / 0.881 GB, free: 2.754 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001209/0.006359, allocations: 166.1 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.006403, allocations: 11.95 kB / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.006426, allocations: 3.469 kB / 0.8812 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.00643, allocations: 4.078 kB / 0.8812 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.006437, allocations: 4.906 kB / 0.8812 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.006442, allocations: 3.938 kB / 0.8812 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/0.006957, allocations: 0.5586 MB / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006958, allocations: 3.938 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.006978, allocations: 4.375 kB / 0.8818 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.00698, allocations: 4 kB / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.006988, allocations: 3.938 kB / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006989, allocations: 0 / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.00699, allocations: 0 / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.007107, allocations: 100 kB / 0.8819 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.007127, allocations: 3.953 kB / 0.8819 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.007145, allocations: 7.938 kB / 0.8819 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.007162, allocations: 0 / 0.8819 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.007185, allocations: 7.984 kB / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.007187, allocations: 0 / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001018/0.007289, allocations: 158.3 kB / 0.882 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007289, allocations: 0 / 0.882 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001777/0.007466, allocations: 8 kB / 0.882 GB, free: 1.625 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001131/0.00758, allocations: 91.25 kB / 0.8821 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.007686, allocations: 31.61 kB / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007688, allocations: 0 / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.00771, allocations: 15.69 kB / 0.8822 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.007849, allocations: 6.906 kB / 0.8822 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.008193, allocations: 182.5 kB / 0.8824 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.757e-05/0.008281, allocations: 83.86 kB / 0.8824 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.432e-05/0.008305, allocations: 0 / 0.8824 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.008328, allocations: 12.5 kB / 0.8824 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.008328, allocations: 0 / 0.8824 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of Templates: time 0.002865/0.01119, allocations: 364 kB / 0.8828 GB, free: 0.7812 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.498198161018081]