Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001422/0.001422, allocations: 81.08 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.001797/0.001797, allocations: 159 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.55/1.55, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.795/2.795, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.951 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.444e-05, allocations: 6.219 kB / 0.951 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002093/0.002127, allocations: 0.6562 MB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.0035, allocations: 0.847 MB / 0.9525 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.003543, allocations: 4 kB / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.003574, allocations: 0 / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.624e-05/0.003651, allocations: 0 / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.003872, allocations: 15.92 kB / 0.9525 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.588e-05/0.003968, allocations: 23.92 kB / 0.9525 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.004088, allocations: 7.984 kB / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.579e-05/0.004174, allocations: 15.92 kB / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.004222, allocations: 7.984 kB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.004243, allocations: 4 kB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-05/0.004294, allocations: 8 kB / 0.9526 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.004308, allocations: 0 / 0.9526 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.004339, allocations: 8 kB / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.004468, allocations: 35.81 kB / 0.9526 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.004471, allocations: 0 / 0.9526 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004472, allocations: 0 / 0.9526 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.004476, allocations: 0 / 0.9526 GB, free: 9.832 MB / 0.8575 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.0005297/0.005006, allocations: 262.3 kB / 0.9529 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.005052, allocations: 8.031 kB / 0.9529 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.415e-05/0.005146, allocations: 8.875 kB / 0.9529 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.005274, allocations: 109.8 kB / 0.953 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.005293, allocations: 8.312 kB / 0.953 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.005302, allocations: 384 / 0.953 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.005502, allocations: 54.22 kB / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.005512, allocations: 192 / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.005522, allocations: 384 / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.005526, allocations: 384 / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.005709, allocations: 39.89 kB / 0.9531 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.006048, allocations: 192.6 kB / 0.9533 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.00619, allocations: 42.53 kB / 0.9533 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.006277, allocations: 16.91 kB / 0.9533 GB, free: 9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.006301, allocations: 0 / 0.9533 GB, free: 9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.006337, allocations: 34.56 kB / 0.9534 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.006338, allocations: 0 / 0.9534 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003859/0.006724, allocations: 89.58 kB / 0.9535 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.00679, allocations: 51.41 kB / 0.9535 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.006882, allocations: 101.8 kB / 0.9536 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.006902, allocations: 25.7 kB / 0.9536 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.006967, allocations: 88.12 kB / 0.9537 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.006989, allocations: 11.89 kB / 0.9537 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.007023, allocations: 9.719 kB / 0.9537 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.007172, allocations: 318.8 kB / 0.954 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.007258, allocations: 15.98 kB / 0.9541 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/0.007334, allocations: 20.09 kB / 0.9541 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.007494, allocations: 36.83 kB / 0.9541 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007496, allocations: 0 / 0.9541 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002066/0.007702, allocations: 69.66 kB / 0.9542 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.007718, allocations: 4 kB / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.007725, allocations: 11.97 kB / 0.9542 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.007743, allocations: 0 / 0.9542 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.007839, allocations: 11.98 kB / 0.9542 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.007844, allocations: 0 / 0.9542 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.007894, allocations: 7.953 kB / 0.9542 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.0079, allocations: 0 / 0.9542 GB, free: 8.039 MB / 0.8575 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 9.85e-05/0.007998, allocations: 113.8 kB / 0.9543 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.008023, allocations: 0 / 0.9543 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.008275, allocations: 76.91 kB / 0.9544 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008277, allocations: 4 kB / 0.9544 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.008281, allocations: 0 / 0.9544 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.008283, allocations: 0 / 0.9544 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.008502, allocations: 105.3 kB / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008503, allocations: 3.938 kB / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.008568, allocations: 12 kB / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.00857, allocations: 0 / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.008577, allocations: 3.938 kB / 0.9545 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.008584, allocations: 7.922 kB / 0.9545 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.008586, allocations: 4.031 kB / 0.9545 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.008857, allocations: 159.5 kB / 0.9547 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.008864, allocations: 0 / 0.9547 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.008877, allocations: 4 kB / 0.9547 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.008955, allocations: 7.938 kB / 0.9547 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.008996, allocations: 7.984 kB / 0.9547 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.009, allocations: 0 / 0.9547 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.009053, allocations: 83.45 kB / 0.9548 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009053, allocations: 4.031 kB / 0.9548 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002218/0.009275, allocations: 7.953 kB / 0.9548 GB, free: 7.383 MB / 0.8575 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.0001399/0.009415, allocations: 91.25 kB / 0.9549 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.009652, allocations: 47.83 kB / 0.9549 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.009655, allocations: 0 / 0.9549 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.00976, allocations: 19.98 kB / 0.9549 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.01007, allocations: 6.781 kB / 0.9549 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.01045, allocations: 104.9 kB / 0.955 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.706e-05/0.01051, allocations: 59.34 kB / 0.9551 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.01054, allocations: 0 / 0.9551 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.01057, allocations: 12.5 kB / 0.9551 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of SimCode: time 4.3e-07/0.01057, allocations: 0 / 0.9551 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of Templates: time 0.00318/0.01375, allocations: 485.6 kB / 0.9556 GB, free: 6.527 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.043859153985977]