Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001734/0.001734, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002166/0.002166, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.529/1.529, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.871/2.871, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.43e-05, allocations: 9.094 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002045/0.002079, allocations: 0.7907 MB / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001269/0.002206, allocations: 39.78 kB / 0.9823 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.002268, allocations: 4 kB / 0.9823 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.228e-05/0.00232, allocations: 15.86 kB / 0.9823 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.002399, allocations: 7.875 kB / 0.9823 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.939e-05/0.002468, allocations: 23.97 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.002597, allocations: 55.84 kB / 0.9824 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.002744, allocations: 39.84 kB / 0.9824 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.943e-05/0.002833, allocations: 35.91 kB / 0.9824 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.002893, allocations: 19.91 kB / 0.9824 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.002919, allocations: 8 kB / 0.9825 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.002929, allocations: 4 kB / 0.9825 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.002958, allocations: 15.92 kB / 0.9825 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.002995, allocations: 23.92 kB / 0.9825 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.003144, allocations: 79.62 kB / 0.9826 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003145, allocations: 0 / 0.9826 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003146, allocations: 0 / 0.9826 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.00315, allocations: 0 / 0.9826 GB, free: 10.84 MB / 0.9356 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.0004794/0.003629, allocations: 304.2 kB / 0.9829 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.003673, allocations: 12.03 kB / 0.9829 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.00372, allocations: 12.84 kB / 0.9829 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.003946, allocations: 129.6 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.003967, allocations: 16.34 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.003981, allocations: 4.375 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.004163, allocations: 98.14 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.004172, allocations: 192 / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.004185, allocations: 4.375 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.004192, allocations: 4.375 kB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.004279, allocations: 39.86 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.004827, allocations: 356.5 kB / 0.9835 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.851e-05/0.004896, allocations: 37.25 kB / 0.9835 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.004935, allocations: 17.78 kB / 0.9836 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.004942, allocations: 4 kB / 0.9836 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.00497, allocations: 34.56 kB / 0.9836 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.004971, allocations: 0 / 0.9836 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001794/0.005151, allocations: 53.58 kB / 0.9836 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.005205, allocations: 77.11 kB / 0.9837 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.005343, allocations: 137.8 kB / 0.9839 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.005363, allocations: 25.7 kB / 0.9839 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.005448, allocations: 115.9 kB / 0.984 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.295e-06/0.005457, allocations: 4 kB / 0.984 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.005491, allocations: 17.92 kB / 0.984 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.005633, allocations: 322.8 kB / 0.9843 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.005651, allocations: 4 kB / 0.9843 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.00568, allocations: 29.66 kB / 0.9843 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.005725, allocations: 21.72 kB / 0.9844 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005727, allocations: 3.938 kB / 0.9844 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.357e-05/0.005821, allocations: 57.62 kB / 0.9844 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.005835, allocations: 4 kB / 0.9844 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.005841, allocations: 64 / 0.9844 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.005857, allocations: 8 kB / 0.9844 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.00592, allocations: 4 kB / 0.9844 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.00593, allocations: 3.938 kB / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.005961, allocations: 11.89 kB / 0.9845 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.005968, allocations: 3.984 kB / 0.9845 GB, free: 8.691 MB / 0.9356 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 9.283e-05/0.006061, allocations: 113.8 kB / 0.9846 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.006101, allocations: 4 kB / 0.9846 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.006123, allocations: 7.469 kB / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.006125, allocations: 0 / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.006132, allocations: 4 kB / 0.9846 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.006136, allocations: 7.938 kB / 0.9846 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.006603, allocations: 414.4 kB / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006604, allocations: 0 / 0.985 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.006624, allocations: 3.938 kB / 0.985 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006626, allocations: 4 kB / 0.985 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.006638, allocations: 3.938 kB / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.006639, allocations: 0 / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.00664, allocations: 0 / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.006734, allocations: 69.98 kB / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.006754, allocations: 12.05 kB / 0.9851 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.006768, allocations: 3.938 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.00679, allocations: 7.984 kB / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.0068, allocations: 0 / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.006802, allocations: 0 / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.173e-05/0.006873, allocations: 102.5 kB / 0.9852 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.006874, allocations: 3.938 kB / 0.9852 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001856/0.007059, allocations: 11.95 kB / 0.9852 GB, free: 7.863 MB / 0.9356 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.0001112/0.00717, allocations: 99.72 kB / 0.9853 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.723e-05/0.007258, allocations: 23.98 kB / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.00726, allocations: 0 / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.489e-05/0.007275, allocations: 11.94 kB / 0.9853 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.007423, allocations: 0 / 0.9853 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.007775, allocations: 166.6 kB / 0.9855 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.294e-05/0.007848, allocations: 79.31 kB / 0.9856 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.007882, allocations: 8.25 kB / 0.9856 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.007911, allocations: 8.5 kB / 0.9856 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of SimCode: time 4.8e-07/0.007912, allocations: 4 kB / 0.9856 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of Templates: time 0.002798/0.01071, allocations: 336.4 kB / 0.9859 GB, free: 7.074 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.212479330599308]