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.001339/0.001339, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001489/0.001489, allocations: 220.2 kB / 23.01 MB, free: 4.609 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.189/3.189, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 74.62 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3062, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001835/0.308, allocations: 0.6805 MB / 1.328 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3091, allocations: 0.8475 MB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.3091, allocations: 0 / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.3091, allocations: 0 / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.957e-05/0.3092, allocations: 11.94 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.3093, allocations: 19.97 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.93e-05/0.3094, allocations: 23.86 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.3095, allocations: 8 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.3096, allocations: 8 kB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.597e-05/0.3096, allocations: 7.922 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.3096, allocations: 4 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.776e-05/0.3097, allocations: 8 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.3097, allocations: 0 / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.3097, allocations: 15.92 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.3098, allocations: 27.89 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3098, allocations: 0 / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3098, allocations: 0 / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.3098, allocations: 0 / 1.329 GB, free: 15.77 MB / 1.029 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.000422/0.3102, allocations: 266.3 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3103, allocations: 8.031 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.3103, allocations: 4.938 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.997e-05/0.3104, allocations: 114.4 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3104, allocations: 384 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.3105, allocations: 12.36 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3106, allocations: 46.25 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3106, allocations: 192 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3106, allocations: 3.938 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.3107, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.3108, allocations: 31.95 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.3111, allocations: 228 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.3113, allocations: 42.48 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.366e-05/0.3113, allocations: 16.91 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3114, allocations: 4 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3114, allocations: 30.56 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3114, allocations: 4 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003456/0.3117, allocations: 81.58 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3118, allocations: 51.41 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.3119, allocations: 105.8 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3119, allocations: 25.7 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.3119, allocations: 84.14 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.312, allocations: 12.02 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.312, allocations: 13.72 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3121, allocations: 310.8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.209e-05/0.3122, allocations: 19.97 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.3123, allocations: 15.98 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3124, allocations: 40.89 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3124, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.3126, allocations: 73.53 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3127, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.3127, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3127, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.3128, allocations: 7.984 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3128, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.3128, allocations: 8.031 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3128, allocations: 7.922 kB / 1.33 GB, free: 13.93 MB / 1.029 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 8.418e-05/0.3129, allocations: 114.3 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3129, allocations: 4.141 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.3131, allocations: 76.89 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3131, allocations: 4 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3132, allocations: 4.031 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.3132, allocations: 0 / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.3133, allocations: 132.7 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3133, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.3134, allocations: 11.94 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3134, allocations: 0 / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3134, allocations: 0 / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3134, allocations: 0 / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3134, allocations: 0 / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.3136, allocations: 167.5 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.3136, allocations: 3.984 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.3137, allocations: 4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.3137, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.3138, allocations: 7.984 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.3138, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.3138, allocations: 91.25 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3138, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002206/0.314, allocations: 4 kB / 1.331 GB, free: 13.24 MB / 1.029 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.0001101/0.3141, allocations: 91.25 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.3144, allocations: 35.95 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3144, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.609e-05/0.3144, allocations: 24.05 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.3147, allocations: 7.938 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.315, allocations: 127.3 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3154, allocations: 0.6768 MB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.3154, allocations: 7.438 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3154, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of Templates: time 0.001887/0.3173, allocations: 0.5534 MB / 1.332 GB, free: 11.66 MB / 1.029 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/jenkins1/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: 10.87090155199985]