Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001936/0.001936, allocations: 81.23 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.002086/0.002086, allocations: 159.7 kB / 22.46 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.916/2.916, allocations: 377.8 MB / 0.6221 GB, free: 12.63 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.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.74e-05, allocations: 9.656 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001648/0.001676, allocations: 0.6601 MB / 0.9821 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.002715, allocations: 0.8354 MB / 0.983 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.002745, allocations: 0 / 0.983 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.002775, allocations: 11.92 kB / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.002833, allocations: 0 / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.002995, allocations: 8 kB / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.638e-05/0.003072, allocations: 23.92 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.003162, allocations: 8 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.00323, allocations: 19.86 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.9e-05/0.003269, allocations: 7.984 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.003283, allocations: 0 / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.285e-05/0.003326, allocations: 7.984 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.003342, allocations: 7.938 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.003364, allocations: 8 kB / 0.9831 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003466, allocations: 31.83 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.003471, allocations: 4 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003471, allocations: 0 / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.003475, allocations: 0 / 0.9831 GB, free: 10.29 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004408/0.003915, allocations: 258.3 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.003959, allocations: 12.03 kB / 0.9833 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.004037, allocations: 4.891 kB / 0.9834 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.004148, allocations: 109.8 kB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.004163, allocations: 4.375 kB / 0.9835 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.004171, allocations: 4.375 kB / 0.9835 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.004343, allocations: 50.23 kB / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.004352, allocations: 192 / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.00436, allocations: 384 / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.004364, allocations: 384 / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.004544, allocations: 43.83 kB / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.004839, allocations: 196.5 kB / 0.9837 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.004975, allocations: 42.59 kB / 0.9838 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.005069, allocations: 24.91 kB / 0.9838 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.005089, allocations: 0 / 0.9838 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.005124, allocations: 34.5 kB / 0.9838 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005125, allocations: 0 / 0.9838 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003778/0.005503, allocations: 85.58 kB / 0.9839 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.005549, allocations: 51.53 kB / 0.984 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.554e-05/0.005635, allocations: 101.8 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.005654, allocations: 33.64 kB / 0.9841 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.005704, allocations: 88.09 kB / 0.9842 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.005719, allocations: 0 / 0.9842 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.005751, allocations: 13.72 kB / 0.9842 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.005891, allocations: 314.8 kB / 0.9845 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.005979, allocations: 15.97 kB / 0.9845 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.006062, allocations: 19.98 kB / 0.9845 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.006226, allocations: 40.83 kB / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.006227, allocations: 0 / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002071/0.006434, allocations: 69.61 kB / 0.9846 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.006446, allocations: 4 kB / 0.9846 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.006452, allocations: 7.938 kB / 0.9846 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.006463, allocations: 0 / 0.9846 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.006547, allocations: 12.02 kB / 0.9847 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.006551, allocations: 0 / 0.9847 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.006602, allocations: 7.984 kB / 0.9847 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.006606, allocations: 3.938 kB / 0.9847 GB, free: 8.492 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 7.376e-05/0.00668, allocations: 113.8 kB / 0.9848 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.006703, allocations: 0 / 0.9848 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.006939, allocations: 76.84 kB / 0.9849 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006941, allocations: 0 / 0.9849 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.006944, allocations: 4.031 kB / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.006946, allocations: 0 / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.007081, allocations: 105.3 kB / 0.985 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.007082, allocations: 0 / 0.985 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.007146, allocations: 11.98 kB / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007147, allocations: 0 / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.007153, allocations: 0 / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.007157, allocations: 3.938 kB / 0.985 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007158, allocations: 0 / 0.985 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.007418, allocations: 171.6 kB / 0.9851 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.007429, allocations: 11.94 kB / 0.9851 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.00745, allocations: 0 / 0.9851 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.007535, allocations: 11.92 kB / 0.9852 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.007567, allocations: 0 / 0.9852 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.007574, allocations: 4 kB / 0.9852 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.007622, allocations: 87.22 kB / 0.9852 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.007622, allocations: 0 / 0.9852 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002184/0.007841, allocations: 4 kB / 0.9853 GB, free: 7.84 MB / 0.9356 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 (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.0001133/0.007954, allocations: 103.3 kB / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.008164, allocations: 31.97 kB / 0.9854 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008165, allocations: 0 / 0.9854 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/0.008258, allocations: 23.92 kB / 0.9854 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.008518, allocations: 3.984 kB / 0.9854 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.008789, allocations: 108.9 kB / 0.9855 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.549e-05/0.008844, allocations: 55.36 kB / 0.9856 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.008865, allocations: 4 kB / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.00889, allocations: 8.5 kB / 0.9856 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/0.008891, allocations: 0 / 0.9856 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of Templates: time 0.002657/0.01155, allocations: 475.9 kB / 0.986 GB, free: 7 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.326723840087652]