Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.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.001908/0.001908, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.002232/0.002232, allocations: 215.2 kB / 20.1 MB, free: 3.051 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.914/2.914, allocations: 0.49 GB / 0.7923 GB, free: 1.25 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.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.002081/0.002081, allocations: 71.89 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.063, allocations: 176.1 MB / 1.322 GB, free: 24.98 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001594/1.064, allocations: 0.548 MB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.012e-05/1.064, allocations: 0 / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/1.064, allocations: 0 / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/1.064, allocations: 3.219 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.599e-05/1.064, allocations: 0 / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.509e-05/1.064, allocations: 4 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.285e-05/1.064, allocations: 7.938 kB / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.919e-05/1.064, allocations: 2.938 kB / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.309e-05/1.064, allocations: 0 / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.741e-05/1.064, allocations: 0 / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/1.064, allocations: 0 / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-06/1.064, allocations: 0 / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/1.064, allocations: 3.984 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/1.064, allocations: 6.906 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.347e-05/1.065, allocations: 3.469 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.065, allocations: 4 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/1.065, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.092e-06/1.065, allocations: 7.938 kB / 1.323 GB, free: 24.61 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.0002457/1.065, allocations: 315.5 kB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/1.065, allocations: 13.27 kB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/1.065, allocations: 4 kB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.211e-05/1.065, allocations: 160.4 kB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-06/1.065, allocations: 384 / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/1.065, allocations: 384 / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.1e-05/1.065, allocations: 29.14 kB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/1.065, allocations: 4.188 kB / 1.323 GB, free: 24.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/1.065, allocations: 3.938 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/1.065, allocations: 7.922 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.452e-05/1.065, allocations: 6.844 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/1.065, allocations: 381 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.352e-05/1.065, allocations: 173.1 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/1.065, allocations: 84.14 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/1.065, allocations: 82.47 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/1.065, allocations: 105.8 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/1.065, allocations: 0 / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 5.902e-05/1.065, allocations: 25.7 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/1.065, allocations: 126.7 kB / 1.324 GB, free: 22.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/1.066, allocations: 104.4 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-06/1.066, allocations: 28.64 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.388e-05/1.066, allocations: 84.08 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/1.066, allocations: 0 / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/1.066, allocations: 9.719 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.274e-05/1.066, allocations: 314.2 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-06/1.066, allocations: 0 / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-06/1.066, allocations: 4.062 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.159e-05/1.066, allocations: 79.28 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.066, allocations: 75.28 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.753e-05/1.066, allocations: 36.86 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.066, allocations: 86.73 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.066, allocations: 75.28 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/1.066, allocations: 158.5 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.969e-06/1.066, allocations: 75.28 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/1.066, allocations: 161.1 kB / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/1.066, allocations: 75.28 kB / 1.325 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/1.066, allocations: 78.03 kB / 1.325 GB, free: 21.54 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 5.648e-05/1.066, allocations: 271.8 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/1.066, allocations: 103.5 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/1.066, allocations: 109.7 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.066, allocations: 180.2 kB / 1.326 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/1.066, allocations: 186 kB / 1.326 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/1.066, allocations: 180.2 kB / 1.326 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/1.066, allocations: 406.8 kB / 1.327 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.066, allocations: 105 kB / 1.327 GB, free: 19.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/1.066, allocations: 107.1 kB / 1.327 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.429e-05/1.066, allocations: 176.3 kB / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/1.066, allocations: 190.6 kB / 1.327 GB, free: 19.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.399e-05/1.066, allocations: 179.6 kB / 1.327 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.312e-05/1.066, allocations: 180.3 kB / 1.328 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.043e-05/1.066, allocations: 312.7 kB / 1.328 GB, free: 18.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/1.066, allocations: 187.6 kB / 1.328 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/1.066, allocations: 176.3 kB / 1.328 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/1.066, allocations: 107.3 kB / 1.328 GB, free: 18.28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/1.067, allocations: 187.7 kB / 1.329 GB, free: 18.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/1.067, allocations: 101 kB / 1.329 GB, free: 17.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.893e-05/1.067, allocations: 82.47 kB / 1.329 GB, free: 17.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.067, allocations: 3.938 kB / 1.329 GB, free: 17.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002626/1.067, allocations: 0 / 1.329 GB, free: 17.91 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 9.869e-05/1.067, allocations: 174.1 kB / 1.329 GB, free: 17.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.321e-05/1.067, allocations: 8.031 kB / 1.329 GB, free: 17.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.067, allocations: 0 / 1.329 GB, free: 17.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/1.067, allocations: 0 / 1.329 GB, free: 17.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/1.067, allocations: 461.8 kB / 1.329 GB, free: 17.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001939/1.067, allocations: 176.1 kB / 1.33 GB, free: 17.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.7e-05/1.068, allocations: 0.669 MB / 1.33 GB, free: 16.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/1.068, allocations: 11.44 kB / 1.33 GB, free: 16.38 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.068, allocations: 0 / 1.33 GB, free: 16.38 MB / 1.061 GB Notification: Performance of Templates: time 0.001582/1.069, allocations: 328.2 kB / 1.331 GB, free: 16.37 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.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.43330811400665]