Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.00157/0.00157, allocations: 115.2 kB / 17.13 MB, free: 6.027 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.001705/0.001705, allocations: 208.3 kB / 20.1 MB, free: 3.074 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.92/2.92, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [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.002069/0.002069, allocations: 63.91 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8908/0.8928, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001727/0.8946, allocations: 0.5888 MB / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.066e-05/0.8946, allocations: 0 / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.8946, allocations: 0 / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.8947, allocations: 0 / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.142e-05/0.8947, allocations: 3.938 kB / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.693e-05/0.8947, allocations: 0 / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.8948, allocations: 2.5 kB / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.041e-05/0.8949, allocations: 7.984 kB / 1.323 GB, free: 24.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.523e-05/0.8949, allocations: 5.953 kB / 1.323 GB, free: 24.69 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.088e-05/0.8949, allocations: 0 / 1.323 GB, free: 24.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.8949, allocations: 3.938 kB / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.178e-06/0.8949, allocations: 0 / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.8949, allocations: 4 kB / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.8949, allocations: 0 / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.256e-05/0.895, allocations: 2.75 kB / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.895, allocations: 0 / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.964e-06/0.895, allocations: 0 / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.895, allocations: 0 / 1.323 GB, free: 24.68 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002747/0.8953, allocations: 318.9 kB / 1.323 GB, free: 24.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.8953, allocations: 15.61 kB / 1.323 GB, free: 24.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.8954, allocations: 0.9375 kB / 1.323 GB, free: 24.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.967e-05/0.8954, allocations: 164.4 kB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.8955, allocations: 4.312 kB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.8955, allocations: 384 / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.288e-05/0.8955, allocations: 36.12 kB / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.8956, allocations: 192 / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.8956, allocations: 7.938 kB / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.8956, allocations: 0 / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.512e-05/0.8956, allocations: 2.469 kB / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.8958, allocations: 385.3 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.8959, allocations: 172.3 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.8959, allocations: 88.08 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.8959, allocations: 75.28 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.8959, allocations: 109.8 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.8959, allocations: 0 / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.755e-05/0.896, allocations: 31.42 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.896, allocations: 126.7 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.046e-05/0.8961, allocations: 96.55 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.8961, allocations: 25.7 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.8961, allocations: 80.14 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.8961, allocations: 2.531 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.8961, allocations: 9.719 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.8962, allocations: 318 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-06/0.8962, allocations: 3.938 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-06/0.8962, allocations: 2.531 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.459e-05/0.8962, allocations: 79.41 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.8962, allocations: 75.28 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.679e-05/0.8963, allocations: 32.17 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.8963, allocations: 82.75 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.8963, allocations: 79.22 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.8963, allocations: 160.4 kB / 1.325 GB, free: 21.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.056e-05/0.8964, allocations: 75.28 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/0.8964, allocations: 162.5 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.8964, allocations: 77.91 kB / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.8965, allocations: 79.22 kB / 1.325 GB, free: 21.6 MB / 1.061 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 (0): * Single equations (assignments): 0 * 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 6.649e-05/0.8965, allocations: 262.8 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.8966, allocations: 104.3 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.8966, allocations: 112.2 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.8966, allocations: 184.2 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.017e-05/0.8966, allocations: 178.9 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/0.8967, allocations: 183.4 kB / 1.326 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.8968, allocations: 399.7 kB / 1.327 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.8968, allocations: 104 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.8968, allocations: 112.9 kB / 1.327 GB, free: 19.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.326e-05/0.8969, allocations: 182.7 kB / 1.327 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.8969, allocations: 184.1 kB / 1.327 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.839e-05/0.8969, allocations: 186.4 kB / 1.328 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.428e-05/0.8969, allocations: 180.3 kB / 1.328 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.407e-05/0.897, allocations: 310.7 kB / 1.328 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.897, allocations: 188.4 kB / 1.328 GB, free: 18.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.8971, allocations: 176.3 kB / 1.328 GB, free: 18.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.925e-05/0.8971, allocations: 105 kB / 1.328 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.8972, allocations: 190.8 kB / 1.329 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.8972, allocations: 108.3 kB / 1.329 GB, free: 18.04 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.979e-05/0.8972, allocations: 77.88 kB / 1.329 GB, free: 17.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8972, allocations: 0 / 1.329 GB, free: 17.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002408/0.8974, allocations: 0 / 1.329 GB, free: 17.97 MB / 1.061 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 (0): * Single equations (assignments): 0 * 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.0001083/0.8975, allocations: 172.8 kB / 1.329 GB, free: 17.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.221e-05/0.8976, allocations: 6.281 kB / 1.329 GB, free: 17.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8976, allocations: 4.094 kB / 1.329 GB, free: 17.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.8976, allocations: 0 / 1.329 GB, free: 17.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.8979, allocations: 462.1 kB / 1.329 GB, free: 17.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.898, allocations: 180.5 kB / 1.33 GB, free: 17.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.52e-05/0.8981, allocations: 0.6715 MB / 1.33 GB, free: 16.46 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.8982, allocations: 7.438 kB / 1.33 GB, free: 16.45 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.8982, allocations: 4 kB / 1.33 GB, free: 16.45 MB / 1.061 GB Notification: Performance of Templates: time 0.00149/0.8996, allocations: 321.5 kB / 1.331 GB, free: 16.43 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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: 11.154021383990766]