Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001864/0.001864, 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.002032/0.002032, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.511/3.511, allocations: 429.5 MB / 0.6729 GB, free: 4.023 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0.875 kB / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.097e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002107/0.002138, allocations: 0.8136 MB / 0.8782 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001329/0.002271, allocations: 39.78 kB / 0.8783 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.002326, allocations: 5.344 kB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.002363, allocations: 8.094 kB / 0.8783 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/0.002455, allocations: 11.88 kB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.018e-05/0.002516, allocations: 20.69 kB / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.002645, allocations: 59.84 kB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.002778, allocations: 32.56 kB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.002885, allocations: 41.44 kB / 0.8785 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.002931, allocations: 19.91 kB / 0.8785 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.002953, allocations: 8 kB / 0.8785 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.002968, allocations: 8 kB / 0.8785 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.002992, allocations: 14.11 kB / 0.8785 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.003029, allocations: 23.92 kB / 0.8785 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.003159, allocations: 67.7 kB / 0.8786 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003161, allocations: 4 kB / 0.8786 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003162, allocations: 0 / 0.8786 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.003167, allocations: 0 / 0.8786 GB, free: 5.508 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.0005454/0.003712, allocations: 414.3 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.003749, allocations: 8.031 kB / 0.879 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.003799, allocations: 12.89 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.004018, allocations: 140.4 kB / 0.8791 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.004036, allocations: 8.375 kB / 0.8791 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.004054, allocations: 12.38 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.004234, allocations: 98.27 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.004243, allocations: 192 / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.004259, allocations: 10.03 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.004266, allocations: 4.359 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.959e-05/0.004356, allocations: 39.86 kB / 0.8793 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.004967, allocations: 467.8 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.432e-05/0.005061, allocations: 66.14 kB / 0.8798 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.005108, allocations: 27.5 kB / 0.8798 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.005119, allocations: 0 / 0.8798 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.005158, allocations: 37.39 kB / 0.8799 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.005159, allocations: 4 kB / 0.8799 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001756/0.005334, allocations: 49.62 kB / 0.8799 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.005408, allocations: 77.11 kB / 0.88 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.0058, allocations: 196.6 kB / 0.8802 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.005819, allocations: 29.7 kB / 0.8802 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.005933, allocations: 158.7 kB / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.005941, allocations: 4.203 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.005985, allocations: 27.38 kB / 0.8804 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002556/0.00624, allocations: 0.4884 MB / 0.8809 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.006261, allocations: 11.92 kB / 0.8809 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.006294, allocations: 23.38 kB / 0.8809 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.841e-05/0.006353, allocations: 31.38 kB / 0.8809 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.006354, allocations: 0 / 0.8809 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.674e-05/0.006451, allocations: 61.58 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.006466, allocations: 4 kB / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.006469, allocations: 4.062 kB / 0.881 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.006483, allocations: 4 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.961e-05/0.006542, allocations: 4 kB / 0.881 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.006549, allocations: 3.938 kB / 0.881 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.006577, allocations: 7.938 kB / 0.881 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.00658, allocations: 0 / 0.881 GB, free: 2.766 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.0001197/0.0067, allocations: 164.6 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.006742, allocations: 11.89 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.006763, allocations: 3.469 kB / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.006765, allocations: 0 / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.006768, allocations: 8 kB / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.006775, allocations: 7.875 kB / 0.8812 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.007278, allocations: 0.5578 MB / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007279, allocations: 0 / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.0073, allocations: 4 kB / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007302, allocations: 96 / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.007312, allocations: 3.938 kB / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007313, allocations: 0 / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.007316, allocations: 3.984 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.007426, allocations: 96.14 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.007447, allocations: 7.953 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.007461, allocations: 7.938 kB / 0.8819 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.007479, allocations: 0 / 0.8819 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.007501, allocations: 7.922 kB / 0.8819 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.007505, allocations: 4 kB / 0.8819 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001016/0.007606, allocations: 147.2 kB / 0.882 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007606, allocations: 0 / 0.882 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001777/0.007784, allocations: 8 kB / 0.882 GB, free: 1.641 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.0001141/0.007898, allocations: 102.6 kB / 0.8821 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.043e-05/0.007989, allocations: 23.72 kB / 0.8822 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00799, allocations: 0 / 0.8822 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.008017, allocations: 19.61 kB / 0.8822 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.008162, allocations: 8 kB / 0.8822 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.008526, allocations: 170.6 kB / 0.8823 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.916e-05/0.008615, allocations: 84.11 kB / 0.8824 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.008642, allocations: 8 kB / 0.8824 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.00867, allocations: 8.5 kB / 0.8824 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/0.00867, allocations: 0 / 0.8824 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of Templates: time 0.002908/0.01158, allocations: 355.6 kB / 0.8828 GB, free: 0.8047 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.647622457938269]