Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.00111/0.00111, allocations: 76.55 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.001215/0.001215, allocations: 181.9 kB / 23.21 MB, free: 1.352 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.9155/0.9155, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.713/1.713, allocations: 377.9 MB / 0.6228 GB, free: 8.672 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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.732e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001221/0.001239, allocations: 0.8296 MB / 0.983 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001016/0.00134, allocations: 55.78 kB / 0.9831 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.467e-05/0.001385, allocations: 0 / 0.9831 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.001419, allocations: 11.81 kB / 0.9831 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.463e-05/0.001484, allocations: 15.86 kB / 0.9831 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.593e-05/0.00153, allocations: 23.97 kB / 0.9831 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.935e-05/0.001629, allocations: 83.77 kB / 0.9832 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.001741, allocations: 37.14 kB / 0.9832 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/0.001803, allocations: 47.83 kB / 0.9833 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.001845, allocations: 27.84 kB / 0.9833 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.001869, allocations: 8 kB / 0.9833 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.001876, allocations: 8 kB / 0.9833 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.001896, allocations: 23.92 kB / 0.9833 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.001923, allocations: 27.86 kB / 0.9834 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.002026, allocations: 99.64 kB / 0.9835 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002028, allocations: 3.938 kB / 0.9835 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002029, allocations: 0 / 0.9835 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.002032, allocations: 0 / 0.9835 GB, free: 0.8008 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003315/0.002364, allocations: 326 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.002396, allocations: 8.031 kB / 0.9838 GB, free: 452 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.002432, allocations: 16.84 kB / 0.9838 GB, free: 436 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.002584, allocations: 141.8 kB / 0.9839 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.002595, allocations: 12.56 kB / 0.984 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.002605, allocations: 8.312 kB / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.002733, allocations: 108.2 kB / 0.9841 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.002741, allocations: 0 / 0.9841 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.002752, allocations: 11.94 kB / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.002756, allocations: 0 / 0.9841 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.259e-05/0.002819, allocations: 39.98 kB / 0.9841 GB, free: 76 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.003178, allocations: 376.2 kB / 0.9845 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.447e-05/0.003223, allocations: 41.16 kB / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.00325, allocations: 21.78 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.003257, allocations: 0 / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.003279, allocations: 38.55 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.003281, allocations: 3.984 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001349/0.003415, allocations: 49.59 kB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.003447, allocations: 77.11 kB / 0.9847 GB, free: 15.39 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.003534, allocations: 140.6 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.003543, allocations: 29.7 kB / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.003596, allocations: 120.3 kB / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.221e-06/0.003603, allocations: 8.203 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.003627, allocations: 21.66 kB / 0.985 GB, free: 15.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.003699, allocations: 322.8 kB / 0.9853 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.003713, allocations: 7.984 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.00373, allocations: 17.72 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.00376, allocations: 21.72 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.003762, allocations: 0 / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.449e-05/0.003816, allocations: 61.58 kB / 0.9854 GB, free: 14.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.003827, allocations: 12.06 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.003831, allocations: 0 / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.003843, allocations: 0 / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.376e-05/0.003886, allocations: 8 kB / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.00389, allocations: 0 / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.003903, allocations: 0 / 0.9854 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.003907, allocations: 4 kB / 0.9854 GB, free: 14.57 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.443e-05/0.003962, allocations: 121.7 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.003982, allocations: 7.938 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/0.003996, allocations: 15.75 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.003998, allocations: 0 / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.004001, allocations: 4 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.004003, allocations: 4 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.004226, allocations: 418.4 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.004227, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.004237, allocations: 11.98 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.004239, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.004244, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.004245, allocations: 8 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004246, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.537e-05/0.004302, allocations: 74 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.004318, allocations: 11.94 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.004326, allocations: 0 / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-06/0.004335, allocations: 0 / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.053e-05/0.004345, allocations: 7.938 kB / 0.9861 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.004347, allocations: 3.938 kB / 0.9861 GB, free: 13.83 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.004393, allocations: 107.2 kB / 0.9862 GB, free: 13.72 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004393, allocations: 0 / 0.9862 GB, free: 13.72 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000127/0.00452, allocations: 19.89 kB / 0.9862 GB, free: 13.7 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 7.133e-05/0.004591, allocations: 107.8 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.578e-05/0.004657, allocations: 16 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.004659, allocations: 0 / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.303e-06/0.004666, allocations: 7.938 kB / 0.9863 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.004773, allocations: 4 kB / 0.9863 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.005021, allocations: 200.3 kB / 0.9865 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.808e-05/0.005069, allocations: 92.5 kB / 0.9866 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.00509, allocations: 12.5 kB / 0.9866 GB, free: 13.2 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/0.00509, allocations: 0 / 0.9866 GB, free: 13.2 MB / 0.948 GB Notification: Performance of Templates: time 0.001404/0.006494, allocations: 0.895 MB / 0.9875 GB, free: 12.31 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.334027465432882]