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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 194.1 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001979/0.001979, allocations: 71.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9057/0.9077, allocations: 168.7 MB / 1.274 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002035/0.9097, allocations: 0.6615 MB / 1.275 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009921/0.9107, allocations: 0.8157 MB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.9107, allocations: 0 / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.9108, allocations: 3.984 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.9108, allocations: 3.938 kB / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.911, allocations: 4 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.121e-05/0.9111, allocations: 23.92 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.9112, allocations: 4 kB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.97e-05/0.9112, allocations: 7.984 kB / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.9113, allocations: 19.92 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.9113, allocations: 0 / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-06/0.9113, allocations: 4 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.9113, allocations: 7.984 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.9113, allocations: 7.938 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.033e-05/0.9114, allocations: 23.91 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.9114, allocations: 0 / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9114, allocations: 0 / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.9114, allocations: 0 / 1.276 GB, free: 2.844 MB / 0.9669 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.0005007/0.9119, allocations: 342.1 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.912, allocations: 12.03 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.912, allocations: 4.891 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.9121, allocations: 172.3 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.9121, allocations: 384 / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.9122, allocations: 4.375 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.9123, allocations: 50.23 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.9124, allocations: 192 / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.9124, allocations: 3.938 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9124, allocations: 0 / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.9125, allocations: 35.97 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.9129, allocations: 245 kB / 1.276 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.913, allocations: 42.44 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.038e-05/0.9131, allocations: 20.91 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.9131, allocations: 4 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.9132, allocations: 30.56 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.9132, allocations: 0 / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003645/0.9135, allocations: 81.58 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.9136, allocations: 51.53 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.9137, allocations: 113.8 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.9137, allocations: 25.7 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.9137, allocations: 88.09 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.9138, allocations: 7.891 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.9138, allocations: 13.72 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.9139, allocations: 318.8 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/0.914, allocations: 15.98 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.506e-05/0.9141, allocations: 19.98 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.9142, allocations: 40.81 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9142, allocations: 0 / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.9144, allocations: 69.55 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.9145, allocations: 4.094 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.9145, allocations: 4 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.9145, allocations: 4 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.9146, allocations: 7.984 kB / 1.277 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.9146, allocations: 0 / 1.277 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.9146, allocations: 7.984 kB / 1.277 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.9146, allocations: 0 / 1.277 GB, free: 0.8164 MB / 0.9669 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.23e-05/0.9147, allocations: 114.7 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.9147, allocations: 0 / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.915, allocations: 76.78 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.915, allocations: 0 / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.915, allocations: 3.938 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.915, allocations: 3.984 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.9151, allocations: 161.6 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9151, allocations: 4 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.9152, allocations: 11.98 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9152, allocations: 0 / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.9152, allocations: 4.031 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.9152, allocations: 0 / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.9152, allocations: 0 / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.9155, allocations: 167.6 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.9155, allocations: 77.11 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.9155, allocations: 3.984 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.9156, allocations: 12.02 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.9156, allocations: 4 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.9156, allocations: 3.938 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.9157, allocations: 83.28 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9157, allocations: 0 / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002228/0.9159, allocations: 7.984 kB / 1.278 GB, free: 15.99 MB / 0.9825 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.0001418/0.916, allocations: 99.72 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.9163, allocations: 35.97 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9163, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.751e-05/0.9164, allocations: 23.97 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.9166, allocations: 10.47 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.917, allocations: 125.4 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.9173, allocations: 0.6769 MB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.03e-05/0.9173, allocations: 3.938 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.9173, allocations: 11.44 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.9173, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of Templates: time 0.002906/0.9202, allocations: 446.1 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.799488453194499]