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.000963/0.000963, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001456/0.001456, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.878/0.878, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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 1.724/1.724, allocations: 377.8 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.814e-06/1.814e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.195e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001052/0.001074, allocations: 0.5627 MB / 0.9828 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 4.143e-05/0.001115, allocations: 4 kB / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.001138, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.001163, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.413e-05/0.001187, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 2.839e-05/0.001216, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.543e-05/0.001271, allocations: 4 kB / 0.9828 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.001319, allocations: 7.984 kB / 0.9828 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.001348, allocations: 4 kB / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.838e-05/0.001367, allocations: 0 / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.001385, allocations: 0 / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.105e-06/0.001388, allocations: 0 / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.001402, allocations: 3.938 kB / 0.9828 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.001418, allocations: 0 / 0.9828 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 5.765e-05/0.001475, allocations: 4 kB / 0.9828 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.001477, allocations: 0 / 0.9828 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.11e-07/0.001478, allocations: 0 / 0.9828 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.001482, allocations: 3.938 kB / 0.9828 GB, free: 1.465 MB / 0.9323 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.0002354/0.001718, allocations: 246.4 kB / 0.983 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.001755, allocations: 12.03 kB / 0.983 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.00178, allocations: 0.9375 kB / 0.983 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/0.001854, allocations: 109.8 kB / 0.9831 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.001864, allocations: 384 / 0.9831 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-06/0.001871, allocations: 384 / 0.9831 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.126e-05/0.001942, allocations: 30.27 kB / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.001949, allocations: 192 / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.001957, allocations: 384 / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.001962, allocations: 384 / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.47e-05/0.001977, allocations: 3.938 kB / 0.9832 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.002209, allocations: 339.1 kB / 0.9835 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/0.002272, allocations: 169.2 kB / 0.9837 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.002295, allocations: 80.14 kB / 0.9837 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.002319, allocations: 79.28 kB / 0.9838 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.00235, allocations: 105.8 kB / 0.9839 GB, free: 200 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.00235, allocations: 4 kB / 0.9839 GB, free: 196 kB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 5.546e-05/0.002406, allocations: 37.56 kB / 0.984 GB, free: 152 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.002451, allocations: 130.6 kB / 0.9841 GB, free: 8 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.002525, allocations: 89.86 kB / 0.9842 GB, free: 15.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.002533, allocations: 29.83 kB / 0.9842 GB, free: 15.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.002566, allocations: 84.14 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.002568, allocations: 0 / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.002585, allocations: 13.72 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003347/0.00292, allocations: 310.8 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-06/0.002924, allocations: 7.938 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.002927, allocations: 0 / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.862e-05/0.002946, allocations: 75.28 kB / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/0.002962, allocations: 75.28 kB / 0.9847 GB, free: 15.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.439e-05/0.002997, allocations: 37.62 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.003024, allocations: 79.28 kB / 0.9848 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.003042, allocations: 83.22 kB / 0.9849 GB, free: 15.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.096e-05/0.003083, allocations: 154.6 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.719e-05/0.003101, allocations: 79.22 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-05/0.003134, allocations: 154.6 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.003177, allocations: 79.22 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.003193, allocations: 79.28 kB / 0.9854 GB, free: 14.56 MB / 0.948 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 7.718e-05/0.00327, allocations: 260.4 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.003304, allocations: 109 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.003337, allocations: 111.9 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-05/0.00338, allocations: 184.5 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.006e-05/0.00342, allocations: 188.2 kB / 0.9863 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.071e-05/0.00346, allocations: 184.3 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.003584, allocations: 352.8 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/0.003607, allocations: 101 kB / 0.9869 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.00363, allocations: 105 kB / 0.987 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.252e-05/0.003673, allocations: 188.2 kB / 0.9871 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.003714, allocations: 180.3 kB / 0.9873 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.881e-05/0.003753, allocations: 184.1 kB / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-05/0.00379, allocations: 180.3 kB / 0.9877 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.56e-05/0.003876, allocations: 307.8 kB / 0.988 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.003902, allocations: 101 kB / 0.9881 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.00395, allocations: 188.2 kB / 0.9882 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.442e-05/0.003995, allocations: 108.9 kB / 0.9883 GB, free: 11.42 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.004038, allocations: 180.2 kB / 0.9885 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.004062, allocations: 108.9 kB / 0.9886 GB, free: 11.12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.548e-05/0.004087, allocations: 79.28 kB / 0.9887 GB, free: 11.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004087, allocations: 0 / 0.9887 GB, free: 11.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000158/0.004245, allocations: 0 / 0.9887 GB, free: 11.05 MB / 0.948 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 8.611e-05/0.004331, allocations: 171.1 kB / 0.9889 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 3.341e-05/0.004365, allocations: 8.031 kB / 0.9889 GB, free: 10.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.004366, allocations: 3.938 kB / 0.9889 GB, free: 10.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.004367, allocations: 0 / 0.9889 GB, free: 10.86 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.004609, allocations: 462.3 kB / 0.9893 GB, free: 10.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.004796, allocations: 189.8 kB / 0.9895 GB, free: 10.19 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.004829, allocations: 51.36 kB / 0.9895 GB, free: 10.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-06/0.004839, allocations: 8.5 kB / 0.9895 GB, free: 10.11 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.004839, allocations: 4 kB / 0.9895 GB, free: 10.11 MB / 0.948 GB Notification: Performance of Templates: time 0.0009846/0.005824, allocations: 312 kB / 0.9898 GB, free: 9.801 MB / 0.948 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: 6.745108230039477]