Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001832/0.001832, allocations: 116.1 kB / 17.08 MB, free: 5.977 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.002308/0.002308, allocations: 193.2 kB / 20.03 MB, free: 3.047 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: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437.1 MB / 0.7177 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 1.028 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.298, allocations: 151.6 MB / 1.176 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001614/0.2997, allocations: 0.5913 MB / 1.176 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3011, allocations: 1.113 MB / 1.177 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.3012, allocations: 0 / 1.177 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.3012, allocations: 7.938 kB / 1.177 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/0.3013, allocations: 7.922 kB / 1.178 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.3017, allocations: 127.4 kB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3019, allocations: 95.88 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.258e-05/0.302, allocations: 4 kB / 1.178 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.302, allocations: 35.91 kB / 1.178 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.3021, allocations: 27.95 kB / 1.178 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.3022, allocations: 8 kB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.037e-05/0.3022, allocations: 23.98 kB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.3023, allocations: 3.938 kB / 1.178 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.3023, allocations: 35.91 kB / 1.178 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.3025, allocations: 79.73 kB / 1.178 GB, free: 3.707 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3025, allocations: 0 / 1.178 GB, free: 3.707 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3025, allocations: 4 kB / 1.178 GB, free: 3.703 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3025, allocations: 0 / 1.178 GB, free: 3.703 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004701/0.303, allocations: 381.1 kB / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.303, allocations: 8.031 kB / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.3031, allocations: 12.83 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3032, allocations: 160.4 kB / 1.178 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3032, allocations: 4.375 kB / 1.178 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3033, allocations: 4.375 kB / 1.178 GB, free: 3.051 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.346e-05/0.3034, allocations: 46.25 kB / 1.179 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3034, allocations: 192 / 1.179 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3034, allocations: 7.922 kB / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3034, allocations: 0 / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.3034, allocations: 4 kB / 1.179 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.3038, allocations: 284.8 kB / 1.179 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.921e-05/0.3038, allocations: 26.5 kB / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.3039, allocations: 12.86 kB / 1.179 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-06/0.3039, allocations: 0 / 1.179 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.304, allocations: 63.39 kB / 1.179 GB, free: 2.535 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.304, allocations: 0 / 1.179 GB, free: 2.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001855/0.3042, allocations: 65.64 kB / 1.179 GB, free: 2.465 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3043, allocations: 51.41 kB / 1.179 GB, free: 2.402 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.3044, allocations: 105.8 kB / 1.179 GB, free: 2.289 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.3044, allocations: 29.7 kB / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.3045, allocations: 88.12 kB / 1.179 GB, free: 2.164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.3045, allocations: 11.95 kB / 1.179 GB, free: 2.152 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.3046, allocations: 25.7 kB / 1.179 GB, free: 2.121 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3047, allocations: 318.8 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.3048, allocations: 31.98 kB / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.3049, allocations: 46.5 kB / 1.18 GB, free: 1.715 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.305, allocations: 88.2 kB / 1.18 GB, free: 1.613 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.305, allocations: 3.938 kB / 1.18 GB, free: 1.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002456/0.3053, allocations: 139.3 kB / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.3053, allocations: 37.69 kB / 1.18 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3053, allocations: 4 kB / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3053, allocations: 0 / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.359e-05/0.3053, allocations: 0 / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3054, allocations: 8.031 kB / 1.18 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.3056, allocations: 36.17 kB / 1.18 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.3056, allocations: 7.984 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.638e-05/0.3057, allocations: 117.8 kB / 1.18 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3057, allocations: 7.938 kB / 1.18 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.3058, allocations: 7.906 kB / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3058, allocations: 0 / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3058, allocations: 0 / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3058, allocations: 4 kB / 1.18 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.3059, allocations: 161.6 kB / 1.18 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3059, allocations: 4 kB / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-06/0.3059, allocations: 0 / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3059, allocations: 0 / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.306, allocations: 4 kB / 1.18 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.306, allocations: 0 / 1.18 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.306, allocations: 0 / 1.18 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.3061, allocations: 93.17 kB / 1.18 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.3061, allocations: 85.09 kB / 1.18 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.3062, allocations: 0 / 1.18 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/0.3062, allocations: 0 / 1.18 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.3062, allocations: 4 kB / 1.18 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.3062, allocations: 0 / 1.18 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.3063, allocations: 87.27 kB / 1.181 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3063, allocations: 4 kB / 1.181 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002084/0.3065, allocations: 12 kB / 1.181 GB, free: 0.6797 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001367/0.3066, allocations: 105.5 kB / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.3068, allocations: 123.3 kB / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3069, allocations: 0 / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.3069, allocations: 11.98 kB / 1.181 GB, free: 436 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.3071, allocations: 14.17 kB / 1.181 GB, free: 424 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.3074, allocations: 147.7 kB / 1.181 GB, free: 244 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3077, allocations: 0.6847 MB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.3078, allocations: 11.44 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.3078, allocations: 0 / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of Templates: time 0.002495/0.3103, allocations: 0.8955 MB / 1.182 GB, free: 14.62 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.234765839995816]