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.001089/0.001089, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001616/0.002705, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001108/0.001108, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001664/0.002772, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9995/0.9995, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09373/1.093, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.515/2.515, allocations: 446.7 MB / 0.6745 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2874/2.802, allocations: 145.9 MB / 0.817 GB, free: 4.246 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.424e-06/2.424e-06, allocations: 0 / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.629e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001944/0.001961, allocations: 0.8587 MB / 0.8191 GB, free: 2.055 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001438/0.002104, allocations: 55.66 kB / 0.8192 GB, free: 2 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.002166, allocations: 0 / 0.8192 GB, free: 2 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.925e-05/0.002205, allocations: 11.88 kB / 0.8192 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.953e-05/0.002264, allocations: 7.875 kB / 0.8192 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.801e-05/0.002312, allocations: 19.97 kB / 0.8192 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.002422, allocations: 63.78 kB / 0.8193 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.002545, allocations: 43.91 kB / 0.8193 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.002653, allocations: 47.83 kB / 0.8194 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.0027, allocations: 11.98 kB / 0.8194 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.002727, allocations: 4 kB / 0.8194 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.00274, allocations: 8 kB / 0.8194 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.002758, allocations: 7.938 kB / 0.8194 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.002795, allocations: 15.94 kB / 0.8194 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.002908, allocations: 47.66 kB / 0.8195 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.752e-05/0.002926, allocations: 0 / 0.8195 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002926, allocations: 0 / 0.8195 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.002947, allocations: 4 kB / 0.8195 GB, free: 1.711 MB / 0.7917 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.0004578/0.003404, allocations: 292.3 kB / 0.8198 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.003442, allocations: 8.625 kB / 0.8198 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.003475, allocations: 12.94 kB / 0.8198 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.003626, allocations: 129.7 kB / 0.8199 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.003639, allocations: 12.28 kB / 0.8199 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.003651, allocations: 8.375 kB / 0.8199 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.003755, allocations: 75.88 kB / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.003763, allocations: 192 / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.003775, allocations: 8.375 kB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.003781, allocations: 4.375 kB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.782e-05/0.003819, allocations: 23.86 kB / 0.82 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.004241, allocations: 0.505 MB / 0.8205 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.486e-05/0.004315, allocations: 169.1 kB / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.004344, allocations: 80.14 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.004368, allocations: 75.28 kB / 0.8208 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.004411, allocations: 109.8 kB / 0.8209 GB, free: 104 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.004412, allocations: 0 / 0.8209 GB, free: 104 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 6.617e-05/0.004478, allocations: 37.72 kB / 0.821 GB, free: 60 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.004553, allocations: 130.6 kB / 0.8211 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.004665, allocations: 149.3 kB / 0.8212 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.004674, allocations: 25.7 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.004738, allocations: 127.7 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.004746, allocations: 4 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.00478, allocations: 21.67 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.004877, allocations: 322.8 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.004888, allocations: 7.984 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-05/0.004931, allocations: 50.86 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.465e-05/0.005006, allocations: 74.78 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.00501, allocations: 4 kB / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.005122, allocations: 77.7 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.005135, allocations: 8.031 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.005143, allocations: 4 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.005154, allocations: 0 / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.005216, allocations: 15.94 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.005222, allocations: 7.984 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.005259, allocations: 11.88 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.005265, allocations: 4 kB / 0.822 GB, free: 14.93 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 8.834e-05/0.005354, allocations: 189.1 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.005402, allocations: 104.9 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.005449, allocations: 116.8 kB / 0.8224 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-05/0.005501, allocations: 184.3 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.043e-05/0.005551, allocations: 180.2 kB / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.422e-05/0.005606, allocations: 180.3 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.005792, allocations: 341.3 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/0.005821, allocations: 101 kB / 0.8233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.005859, allocations: 105 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.005911, allocations: 112.9 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.375e-05/0.005964, allocations: 180.3 kB / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.006016, allocations: 180.2 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.316e-05/0.00607, allocations: 184.2 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.214e-05/0.006122, allocations: 188.2 kB / 0.8242 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.006244, allocations: 303.8 kB / 0.8245 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.006316, allocations: 188.2 kB / 0.8247 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.006383, allocations: 104.9 kB / 0.8248 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.006444, allocations: 180.2 kB / 0.825 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.006478, allocations: 105 kB / 0.8251 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.006516, allocations: 28.83 kB / 0.8251 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006516, allocations: 0 / 0.8251 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002216/0.006738, allocations: 11.95 kB / 0.8251 GB, free: 11.55 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 0.00011/0.006848, allocations: 159.7 kB / 0.8252 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.956e-05/0.006917, allocations: 28.8 kB / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.006923, allocations: 0 / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.006925, allocations: 3.938 kB / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.007198, allocations: 467.6 kB / 0.8257 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.007469, allocations: 228.4 kB / 0.8259 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.007509, allocations: 59.34 kB / 0.826 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.007548, allocations: 9.234 kB / 0.826 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.007587, allocations: 59.36 kB / 0.8261 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of SimCode: time 8.21e-07/0.007588, allocations: 0 / 0.8261 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of Templates: time 0.002075/0.009662, allocations: 336.7 kB / 0.8264 GB, free: 10.16 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.ref.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.293817603029311]