Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.0008371/0.0008371, allocations: 76.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.0008369/0.0008369, allocations: 174.3 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.9067/0.9067, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.798/1.798, allocations: 377.8 MB / 0.6228 GB, free: 8.676 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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 3.938 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.087e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001582/0.001613, allocations: 0.7946 MB / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001095/0.001722, allocations: 39.78 kB / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.001773, allocations: 0 / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.001811, allocations: 15.86 kB / 0.983 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.001887, allocations: 7.875 kB / 0.983 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.299e-05/0.00193, allocations: 19.98 kB / 0.9831 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.002031, allocations: 59.83 kB / 0.9831 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.002156, allocations: 27.97 kB / 0.9831 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.392e-05/0.00223, allocations: 43.84 kB / 0.9832 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/0.002292, allocations: 19.91 kB / 0.9832 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.002316, allocations: 8 kB / 0.9832 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-06/0.002323, allocations: 4 kB / 0.9832 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.002345, allocations: 15.94 kB / 0.9832 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.002376, allocations: 23.91 kB / 0.9833 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.002489, allocations: 75.62 kB / 0.9833 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.002492, allocations: 4 kB / 0.9833 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.173e-06/0.002493, allocations: 0 / 0.9833 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.002498, allocations: 0 / 0.9833 GB, free: 0.9258 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.0003786/0.002876, allocations: 310 kB / 0.9836 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.002917, allocations: 8.031 kB / 0.9836 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.002951, allocations: 12.84 kB / 0.9836 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.003116, allocations: 137.6 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.003127, allocations: 8.359 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.003137, allocations: 8.375 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.00327, allocations: 87.95 kB / 0.9839 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.003279, allocations: 192 / 0.9839 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.003291, allocations: 4.375 kB / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.003296, allocations: 384 / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.39e-05/0.00336, allocations: 51.8 kB / 0.9839 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.003756, allocations: 356.3 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.207e-05/0.003808, allocations: 45.27 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.003842, allocations: 21.84 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.00385, allocations: 0 / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.003871, allocations: 30.56 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.003872, allocations: 0 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001534/0.004026, allocations: 53.8 kB / 0.9844 GB, free: 15.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.004066, allocations: 85.14 kB / 0.9845 GB, free: 15.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.004157, allocations: 140.3 kB / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.004166, allocations: 25.7 kB / 0.9847 GB, free: 15.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.004218, allocations: 104 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.004226, allocations: 3.953 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.004254, allocations: 21.67 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.004334, allocations: 322.8 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.00435, allocations: 8 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.004368, allocations: 17.72 kB / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.004404, allocations: 25.72 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004406, allocations: 0 / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.629e-05/0.004472, allocations: 57.62 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.004486, allocations: 8 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.004492, allocations: 0 / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.004503, allocations: 0 / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.004559, allocations: 4 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.004567, allocations: 7.938 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.004581, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.004585, allocations: 0 / 0.9852 GB, free: 14.79 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 6.346e-05/0.004649, allocations: 121.9 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.004671, allocations: 7.953 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.004688, allocations: 3.469 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.00469, allocations: 4 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.004694, allocations: 3.938 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.004699, allocations: 3.938 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.00496, allocations: 414.4 kB / 0.9857 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.004962, allocations: 0 / 0.9857 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-05/0.004974, allocations: 7.938 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.004976, allocations: 4.062 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.004983, allocations: 7.875 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.004984, allocations: 0 / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.004986, allocations: 4 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.804e-05/0.005044, allocations: 73.98 kB / 0.9858 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.005061, allocations: 7.953 kB / 0.9858 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.005076, allocations: 11.88 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-06/0.005086, allocations: 3.984 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.005099, allocations: 0 / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.005103, allocations: 4 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.005144, allocations: 111.2 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005144, allocations: 0 / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001294/0.005274, 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.4e-05/0.005358, allocations: 91.78 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.118e-05/0.005429, allocations: 19.98 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.00543, allocations: 0 / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.776e-06/0.005439, allocations: 7.938 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.0001194/0.005559, allocations: 12.92 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.0002724/0.005831, allocations: 188.5 kB / 0.9863 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.045e-05/0.005881, allocations: 79.31 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.005907, allocations: 8.5 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.005907, allocations: 4 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of Templates: time 0.001958/0.007865, allocations: 0.8014 MB / 0.9872 GB, free: 12.65 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.381382970139384]