Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009391/0.0009391, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.001025/0.001025, allocations: 157.7 kB / 23.51 MB, free: 0.918 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.9695/0.9695, allocations: 177.2 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.05/2.05, allocations: 429.6 MB / 0.6737 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.706e-06/2.706e-06, allocations: 0.875 kB / 0.8783 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.614e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001366/0.001403, allocations: 0.5642 MB / 0.8789 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 5.549e-05/0.001458, allocations: 0.9844 kB / 0.8789 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.001487, allocations: 0.875 kB / 0.8789 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.001512, allocations: 0 / 0.8789 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.001555, allocations: 1.094 kB / 0.8789 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.739e-05/0.001592, allocations: 0 / 0.8789 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.475e-05/0.001657, allocations: 12.53 kB / 0.8789 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.00171, allocations: 4.922 kB / 0.8789 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.724e-05/0.001747, allocations: 4.484 kB / 0.8789 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.001771, allocations: 1.094 kB / 0.8789 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.001788, allocations: 0.875 kB / 0.8789 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-06/0.001794, allocations: 4 kB / 0.8789 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.001808, allocations: 0.6562 kB / 0.8789 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.00183, allocations: 0 / 0.8789 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.506e-05/0.001905, allocations: 2.828 kB / 0.8789 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.001907, allocations: 0 / 0.8789 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.001909, allocations: 0 / 0.8789 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.001915, allocations: 0 / 0.8789 GB, free: 5.934 MB / 0.8386 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.0002737/0.002189, allocations: 242.4 kB / 0.8792 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.002233, allocations: 15.62 kB / 0.8792 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.002265, allocations: 1.594 kB / 0.8792 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.597e-05/0.002351, allocations: 105.8 kB / 0.8793 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.002362, allocations: 384 / 0.8793 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.002373, allocations: 4.375 kB / 0.8793 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.492e-05/0.002448, allocations: 26.27 kB / 0.8793 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.002455, allocations: 192 / 0.8793 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.002472, allocations: 4.906 kB / 0.8793 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.002478, allocations: 384 / 0.8793 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.512e-05/0.002503, allocations: 20.8 kB / 0.8793 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.002761, allocations: 323.2 kB / 0.8796 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.451e-05/0.002846, allocations: 169.1 kB / 0.8798 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.002879, allocations: 82.23 kB / 0.8799 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.002908, allocations: 79.28 kB / 0.88 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.002945, allocations: 113.3 kB / 0.8801 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/0.002947, allocations: 0 / 0.8801 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.122e-05/0.003018, allocations: 33.62 kB / 0.8801 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.003069, allocations: 130.7 kB / 0.8802 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.00315, allocations: 89.86 kB / 0.8803 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.003159, allocations: 25.7 kB / 0.8803 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.0032, allocations: 84.14 kB / 0.8804 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.003202, allocations: 0 / 0.8804 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.00322, allocations: 14.34 kB / 0.8804 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.003309, allocations: 310.8 kB / 0.8807 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-06/0.003317, allocations: 1.25 kB / 0.8807 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.003322, allocations: 0.75 kB / 0.8807 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.003346, allocations: 79.22 kB / 0.8808 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-05/0.003369, allocations: 80.17 kB / 0.8809 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.757e-05/0.003417, allocations: 29.7 kB / 0.8809 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.003451, allocations: 79.28 kB / 0.881 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.003479, allocations: 85.84 kB / 0.8811 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.999e-05/0.003539, allocations: 154.5 kB / 0.8812 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.312e-05/0.003562, allocations: 76.03 kB / 0.8813 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-05/0.003606, allocations: 162.5 kB / 0.8814 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.003652, allocations: 79.41 kB / 0.8815 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.003673, allocations: 79.27 kB / 0.8816 GB, free: 3.043 MB / 0.8386 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 9.473e-05/0.003768, allocations: 260.4 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.003809, allocations: 104.9 kB / 0.8819 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.003857, allocations: 116 kB / 0.882 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.111e-05/0.003908, allocations: 184.4 kB / 0.8822 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.195e-05/0.00396, allocations: 181 kB / 0.8824 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.963e-05/0.004009, allocations: 180.3 kB / 0.8826 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.004154, allocations: 352.8 kB / 0.8829 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-05/0.004183, allocations: 105 kB / 0.883 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.004214, allocations: 116.9 kB / 0.8831 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.752e-05/0.004261, allocations: 180.3 kB / 0.8833 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.004313, allocations: 180.2 kB / 0.8835 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.276e-05/0.004366, allocations: 188.1 kB / 0.8836 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-05/0.004413, allocations: 176.3 kB / 0.8838 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.004527, allocations: 307.8 kB / 0.8841 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.004565, allocations: 108.9 kB / 0.8842 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.004622, allocations: 176.3 kB / 0.8844 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.226e-05/0.004684, allocations: 108.9 kB / 0.8845 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.004749, allocations: 188.2 kB / 0.8847 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.004778, allocations: 105 kB / 0.8848 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.004809, allocations: 79.28 kB / 0.8848 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.004809, allocations: 0 / 0.8848 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001636/0.004973, allocations: 4 kB / 0.8848 GB, free: 15.53 MB / 0.8542 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.0001262/0.005099, allocations: 166.5 kB / 0.885 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.746e-05/0.005157, allocations: 7.938 kB / 0.885 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.005159, allocations: 0 / 0.885 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.00516, allocations: 0 / 0.885 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.005694, allocations: 451.7 kB / 0.8854 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.00591, allocations: 167.1 kB / 0.8856 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.056e-05/0.00595, allocations: 55.36 kB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.973e-06/0.005952, allocations: 0 / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.005966, allocations: 8.5 kB / 0.8857 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/0.005967, allocations: 0 / 0.8857 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of Templates: time 0.001436/0.007403, allocations: 171.9 kB / 0.8858 GB, free: 14.46 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 5.220608191564679]