Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008872/0.0008872, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009833/0.0009833, allocations: 178.2 kB / 23.22 MB, free: 1.344 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.953/0.953, allocations: 177.1 MB / 203.5 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.789/1.789, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.755e-05/3.937e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001629/0.001668, allocations: 0.7984 MB / 0.983 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001105/0.001778, allocations: 47.78 kB / 0.983 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.001829, allocations: 0 / 0.983 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.001866, allocations: 7.875 kB / 0.983 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.001942, allocations: 7.922 kB / 0.983 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.103e-05/0.001983, allocations: 19.97 kB / 0.9831 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.002086, allocations: 71.72 kB / 0.9831 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.002217, allocations: 35.91 kB / 0.9832 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.002303, allocations: 35.91 kB / 0.9832 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.002344, allocations: 15.92 kB / 0.9832 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.00237, allocations: 4 kB / 0.9832 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-06/0.002379, allocations: 8 kB / 0.9832 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.002399, allocations: 23.91 kB / 0.9832 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.002426, allocations: 15.92 kB / 0.9833 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.00253, allocations: 75.64 kB / 0.9833 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002532, allocations: 0 / 0.9833 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002533, allocations: 0 / 0.9833 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.002538, allocations: 4 kB / 0.9833 GB, free: 0.9141 MB / 0.9323 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.0003668/0.002905, allocations: 306 kB / 0.9836 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.002949, allocations: 8.031 kB / 0.9836 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.002984, allocations: 16.84 kB / 0.9837 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.003143, allocations: 133.6 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.003155, allocations: 4.375 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.003166, allocations: 8.375 kB / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.003293, allocations: 91.95 kB / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.003302, allocations: 4.125 kB / 0.9839 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.003312, allocations: 384 / 0.9839 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.003317, allocations: 8.375 kB / 0.9839 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.003377, allocations: 35.92 kB / 0.9839 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.003749, allocations: 360.5 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.992e-05/0.003799, allocations: 41.2 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.003829, allocations: 13.78 kB / 0.9843 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.003836, allocations: 0 / 0.9843 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.003859, allocations: 42.5 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.00386, allocations: 0 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.000135/0.003995, allocations: 49.66 kB / 0.9844 GB, free: 15.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.004029, allocations: 85.03 kB / 0.9845 GB, free: 15.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.004114, allocations: 133.7 kB / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.004122, allocations: 25.7 kB / 0.9846 GB, free: 15.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.004174, allocations: 108 kB / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.004185, allocations: 7.953 kB / 0.9848 GB, free: 15.28 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.004215, allocations: 25.66 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.004284, allocations: 310.8 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.004299, allocations: 8 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.004318, allocations: 21.95 kB / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.004349, allocations: 29.72 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004351, allocations: 3.938 kB / 0.9851 GB, free: 14.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.502e-05/0.004406, allocations: 49.64 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.004419, allocations: 7.984 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.004424, allocations: 0 / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.004436, allocations: 0 / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.004489, allocations: 12 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.004497, allocations: 7.875 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.004512, allocations: 8 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.004517, allocations: 7.938 kB / 0.9852 GB, free: 14.77 MB / 0.948 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 5.556e-05/0.004572, allocations: 113.8 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.004592, allocations: 3.953 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/0.00461, allocations: 11.45 kB / 0.9853 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.004612, allocations: 0 / 0.9853 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.004616, allocations: 3.938 kB / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.004619, allocations: 96 / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.004863, allocations: 418.4 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004864, allocations: 4.062 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.004876, allocations: 8 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.004877, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.004884, allocations: 7.938 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.004885, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.004886, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.311e-05/0.004939, allocations: 73.92 kB / 0.9858 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.004957, allocations: 11.95 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.004967, allocations: 3.938 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-06/0.004976, allocations: 0 / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.004988, allocations: 4.031 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.004989, allocations: 4 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.00503, allocations: 101.9 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00503, allocations: 0 / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001309/0.005161, allocations: 11.95 kB / 0.986 GB, free: 13.93 MB / 0.948 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 8.186e-05/0.005243, allocations: 99.77 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.07e-05/0.005313, allocations: 15.94 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.005315, allocations: 0 / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.332e-06/0.005321, allocations: 4.188 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.00544, allocations: 12.06 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.0057, allocations: 188.2 kB / 0.9863 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.936e-05/0.00575, allocations: 79.27 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.005774, allocations: 12.5 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.005774, allocations: 0 / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of Templates: time 0.001536/0.00731, allocations: 0.7974 MB / 0.9871 GB, free: 12.65 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.490502151660621]