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.001867/0.001867, allocations: 78.73 kB / 19.18 MB, free: 2.516 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.002193/0.002193, allocations: 161.5 kB / 22.46 MB, free: 5.375 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.523/1.523, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.897/2.897, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.377e-05/3.615e-05, allocations: 5.656 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001659/0.001696, allocations: 0.5636 MB / 0.982 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 3.56e-05/0.001731, allocations: 0 / 0.982 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.00176, allocations: 4 kB / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.001785, allocations: 0 / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.001819, allocations: 0 / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.512e-05/0.001855, allocations: 0 / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.529e-05/0.00193, allocations: 3.938 kB / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.348e-05/0.002003, allocations: 0 / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.189e-05/0.002055, allocations: 8 kB / 0.982 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.891e-05/0.002084, allocations: 0 / 0.982 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.002107, allocations: 0 / 0.982 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-06/0.002113, allocations: 4 kB / 0.982 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.002131, allocations: 3.938 kB / 0.982 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.002162, allocations: 3.984 kB / 0.982 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.002284, allocations: 7.984 kB / 0.982 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.002287, allocations: 0 / 0.982 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.1e-07/0.002287, allocations: 0 / 0.982 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.002293, allocations: 0 / 0.982 GB, free: 11.35 MB / 0.9356 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.0004237/0.002716, allocations: 246.3 kB / 0.9823 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.002769, allocations: 8.031 kB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.002806, allocations: 4.922 kB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.002956, allocations: 109.8 kB / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.002971, allocations: 384 / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.002981, allocations: 384 / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.003106, allocations: 30.27 kB / 0.9824 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.003119, allocations: 192 / 0.9824 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.003133, allocations: 4.312 kB / 0.9824 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.003139, allocations: 384 / 0.9824 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.003163, allocations: 3.938 kB / 0.9824 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.003646, allocations: 335.1 kB / 0.9827 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.003781, allocations: 169.2 kB / 0.9829 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.003837, allocations: 84.14 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.003883, allocations: 75.28 kB / 0.983 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.889e-05/0.003952, allocations: 105.8 kB / 0.9831 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.003953, allocations: 0 / 0.9831 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001107/0.004064, allocations: 41.58 kB / 0.9832 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.004166, allocations: 126.7 kB / 0.9833 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.004304, allocations: 89.86 kB / 0.9834 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.004327, allocations: 25.7 kB / 0.9834 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.004402, allocations: 88.12 kB / 0.9835 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.004404, allocations: 0 / 0.9835 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.004433, allocations: 13.84 kB / 0.9835 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.004635, allocations: 310.8 kB / 0.9838 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-06/0.004642, allocations: 0 / 0.9838 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-06/0.004651, allocations: 4 kB / 0.9838 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.162e-05/0.004713, allocations: 79.28 kB / 0.9839 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.732e-05/0.00475, allocations: 75.28 kB / 0.984 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.896e-05/0.004809, allocations: 29.64 kB / 0.984 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.283e-05/0.004872, allocations: 83.28 kB / 0.9841 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/0.004917, allocations: 79.22 kB / 0.9841 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.00502, allocations: 158.5 kB / 0.9843 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.305e-05/0.005063, allocations: 87.22 kB / 0.9844 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.744e-05/0.005151, allocations: 154.6 kB / 0.9845 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.914e-05/0.00524, allocations: 79.22 kB / 0.9846 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.005285, allocations: 87.22 kB / 0.9847 GB, free: 8.438 MB / 0.9356 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.000164/0.005449, allocations: 256.4 kB / 0.9849 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.005533, allocations: 105 kB / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.555e-05/0.005609, allocations: 119.8 kB / 0.9851 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/0.005712, allocations: 176.3 kB / 0.9853 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000109/0.005821, allocations: 180.2 kB / 0.9855 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001389/0.00596, allocations: 184.5 kB / 0.9857 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.00624, allocations: 352.8 kB / 0.986 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.408e-05/0.006305, allocations: 117 kB / 0.9861 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.00636, allocations: 101 kB / 0.9862 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.006463, allocations: 180.2 kB / 0.9864 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.006586, allocations: 184.3 kB / 0.9866 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000105/0.006691, allocations: 188.1 kB / 0.9867 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001048/0.006796, allocations: 176.3 kB / 0.9869 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.007001, allocations: 303.8 kB / 0.9872 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.007077, allocations: 109 kB / 0.9873 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.007215, allocations: 184.2 kB / 0.9875 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.007321, allocations: 108.9 kB / 0.9876 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.00743, allocations: 176.3 kB / 0.9877 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.024e-05/0.00749, allocations: 108.9 kB / 0.9878 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.934e-05/0.007559, allocations: 79.28 kB / 0.9879 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.007559, allocations: 0 / 0.9879 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003224/0.007882, allocations: 0 / 0.9879 GB, free: 4.938 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 (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.0002322/0.008114, allocations: 175 kB / 0.9881 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.33e-05/0.008167, allocations: 4 kB / 0.9881 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.008169, allocations: 0 / 0.9881 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.00817, allocations: 0 / 0.9881 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.008663, allocations: 463.7 kB / 0.9885 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.009005, allocations: 158.4 kB / 0.9887 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.206e-05/0.009077, allocations: 55.34 kB / 0.9887 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.745e-06/0.00908, allocations: 0 / 0.9887 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.009097, allocations: 8.5 kB / 0.9887 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of SimCode: time 8.32e-07/0.009098, allocations: 0 / 0.9887 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of Templates: time 0.002661/0.01176, allocations: 160.8 kB / 0.9889 GB, free: 3.879 MB / 0.9356 GB " [Timeout remaining time 300] 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/jenkins/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: 8.145532760769129]