Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001357/0.001357, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001374/0.001374, allocations: 186 kB / 20.78 MB, free: 1.547 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.552/1.552, allocations: 225.6 MB / 249.4 MB, free: 3.133 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.692/2.692, allocations: 443.4 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 176] 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 67.89 kB / 1.059 GB, free: 328 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4135, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002109/0.4156, allocations: 0.5448 MB / 1.217 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 5.921e-05/0.4156, allocations: 12 kB / 1.217 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.4157, allocations: 0 / 1.217 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.4157, allocations: 0 / 1.217 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.4157, allocations: 0 / 1.217 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.221e-05/0.4158, allocations: 0 / 1.217 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.4158, allocations: 7.922 kB / 1.217 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.317e-05/0.4159, allocations: 8 kB / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.427e-05/0.4159, allocations: 0 / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.002e-05/0.416, allocations: 0 / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.416, allocations: 0 / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-06/0.416, allocations: 3.938 kB / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.416, allocations: 3.984 kB / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.416, allocations: 0 / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.583e-05/0.4161, allocations: 8 kB / 1.217 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4161, allocations: 0 / 1.217 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4161, allocations: 3.938 kB / 1.217 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.4161, allocations: 0 / 1.217 GB, free: 14.7 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004142/0.4165, allocations: 323.5 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4166, allocations: 8.031 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.4166, allocations: 0.9375 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.4168, allocations: 160.4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4168, allocations: 8.359 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.4168, allocations: 384 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.548e-05/0.4169, allocations: 30.27 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4169, allocations: 192 / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4169, allocations: 7.938 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4169, allocations: 7.922 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.853e-05/0.4169, allocations: 4 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.4173, allocations: 375.6 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.4174, allocations: 177 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.4175, allocations: 84.14 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.4175, allocations: 79.22 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.4176, allocations: 105.8 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4176, allocations: 0 / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.384e-05/0.4177, allocations: 29.7 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.4178, allocations: 130.7 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.4179, allocations: 97.86 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4179, allocations: 25.7 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.418, allocations: 80.14 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.418, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.418, allocations: 13.7 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4182, allocations: 310.8 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-06/0.4182, allocations: 0 / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.4182, allocations: 11.94 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.4182, allocations: 79.41 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.724e-05/0.4183, allocations: 75.28 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.811e-05/0.4183, allocations: 29.64 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/0.4184, allocations: 83.28 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-05/0.4184, allocations: 75.28 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-05/0.4185, allocations: 154.5 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.318e-05/0.4185, allocations: 79.27 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.642e-05/0.4186, allocations: 163.5 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-05/0.4187, allocations: 75.28 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.4187, allocations: 79.28 kB / 1.22 GB, free: 11.56 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 (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 0.000157/0.4189, allocations: 264.3 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.419, allocations: 105 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.392e-05/0.4191, allocations: 112.1 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001045/0.4192, allocations: 188.2 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.618e-05/0.4192, allocations: 180.3 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.058e-05/0.4193, allocations: 184.2 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.4196, allocations: 401.4 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.817e-05/0.4197, allocations: 101 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.4197, allocations: 117 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.4198, allocations: 184.3 kB / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.489e-05/0.4199, allocations: 180.2 kB / 1.221 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001055/0.4201, allocations: 184.2 kB / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.981e-05/0.4201, allocations: 180.3 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.4203, allocations: 311.7 kB / 1.222 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.4204, allocations: 186 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.4205, allocations: 176.3 kB / 1.222 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.995e-05/0.4206, allocations: 101 kB / 1.223 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4208, allocations: 184.2 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.4208, allocations: 109 kB / 1.223 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.442e-05/0.4209, allocations: 87.27 kB / 1.223 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.4209, allocations: 0 / 1.223 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000279/0.4212, allocations: 0 / 1.223 GB, free: 7.875 MB / 0.9669 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.000187/0.4213, allocations: 172.6 kB / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.733e-05/0.4214, allocations: 3.938 kB / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4214, allocations: 8.094 kB / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.4214, allocations: 0 / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.4218, allocations: 455.6 kB / 1.224 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.4221, allocations: 168.2 kB / 1.224 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.4224, allocations: 0.6768 MB / 1.224 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.023e-06/0.4224, allocations: 0 / 1.224 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.4225, allocations: 11.44 kB / 1.224 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.4225, allocations: 0 / 1.224 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of Templates: time 0.002312/0.4248, allocations: 160.9 kB / 1.225 GB, free: 6.172 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.735993744805455]