Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001336/0.001336, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001884/0.001884, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.468/1.468, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 60.14 kB / 1.062 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9494/0.9514, allocations: 160.8 MB / 1.219 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002119/0.9536, allocations: 0.7119 MB / 1.219 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.9547, allocations: 0.8034 MB / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.9547, allocations: 0 / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.9548, allocations: 5 kB / 1.22 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.078e-05/0.9548, allocations: 13.12 kB / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.955, allocations: 13.2 kB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.9551, allocations: 37.61 kB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.9552, allocations: 14.83 kB / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.088e-05/0.9553, allocations: 18.38 kB / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.9553, allocations: 29.53 kB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.9554, allocations: 3.625 kB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.9554, allocations: 3.812 kB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.9554, allocations: 9.25 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.9555, allocations: 19.69 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.9556, allocations: 42.53 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.9556, allocations: 5.281 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9556, allocations: 0 / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.9556, allocations: 0 / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006378/0.9562, allocations: 367.7 kB / 1.221 GB, free: 2.07 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.9563, allocations: 9.375 kB / 1.221 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.9563, allocations: 7.297 kB / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.9565, allocations: 167.1 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.9565, allocations: 1.594 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.9565, allocations: 9.531 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.9568, allocations: 67.34 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.9568, allocations: 4.188 kB / 1.221 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.9569, allocations: 9.094 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.9569, allocations: 5.109 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.9572, allocations: 63.3 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.9576, allocations: 262.3 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.9579, allocations: 63.64 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.958, allocations: 38.97 kB / 1.221 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.958, allocations: 0.75 kB / 1.221 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.9581, allocations: 31.62 kB / 1.221 GB, free: 1.359 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.9581, allocations: 4 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005737/0.9587, allocations: 125.7 kB / 1.221 GB, free: 1.281 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.9587, allocations: 52.5 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.9588, allocations: 112.1 kB / 1.222 GB, free: 1.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.9588, allocations: 29.7 kB / 1.222 GB, free: 1.074 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.9589, allocations: 89.58 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.9589, allocations: 18.03 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.959, allocations: 15.98 kB / 1.222 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9591, allocations: 316.4 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.9593, allocations: 29.47 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.9594, allocations: 37.58 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.9597, allocations: 66.91 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.9597, allocations: 5.094 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003078/0.96, allocations: 92.69 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.96, allocations: 9.281 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.96, allocations: 1.094 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.96, allocations: 0 / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.9602, allocations: 22.48 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.9602, allocations: 0 / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.9603, allocations: 15.06 kB / 1.222 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.9603, allocations: 1.156 kB / 1.222 GB, free: 492 kB / 0.92 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 (3): * Single equations (assignments): 3 * 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 0.0001054/0.9604, allocations: 128 kB / 1.222 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.9604, allocations: 5.734 kB / 1.222 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.9608, allocations: 100.5 kB / 1.222 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.9608, allocations: 1.094 kB / 1.222 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9608, allocations: 0 / 1.222 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.9608, allocations: 1.156 kB / 1.222 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.961, allocations: 173 kB / 1.223 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.961, allocations: 4 kB / 1.223 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.747e-05/0.9611, allocations: 22.05 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9611, allocations: 0.9375 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.9611, allocations: 5.031 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9611, allocations: 0 / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9611, allocations: 0 / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.9615, allocations: 209.4 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.9616, allocations: 78.17 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.9616, allocations: 0.8125 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.9617, allocations: 10.83 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.9617, allocations: 9.328 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.9617, allocations: 1.312 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.9618, allocations: 85.62 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9618, allocations: 4 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002219/0.962, allocations: 6.531 kB / 1.223 GB, free: 15.68 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 (3): * Single equations (assignments): 3 * 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.0001478/0.9621, allocations: 96.8 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.9625, allocations: 69.8 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9625, allocations: 1.094 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.9626, allocations: 35.94 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.963, allocations: 11.88 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.9634, allocations: 124.3 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.9637, allocations: 0.6798 MB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.9637, allocations: 5.188 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.9638, allocations: 9.656 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.9638, allocations: 3.938 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of Templates: time 0.003589/0.9674, allocations: 0.6917 MB / 1.225 GB, free: 14.34 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: 9.013627394102514]