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.00252/0.00252, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.003203/0.003203, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.379/3.379, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] 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.655e-06/2.655e-06, allocations: 0 / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.314e-05/3.58e-05, allocations: 7 kB / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001818/0.001854, allocations: 0.5513 MB / 0.878 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 3.923e-05/0.001893, allocations: 4.188 kB / 0.878 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.001919, allocations: 3.938 kB / 0.878 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.001938, allocations: 1.531 kB / 0.878 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.116e-05/0.001969, allocations: 0 / 0.878 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.004e-05/0.001999, allocations: 2.5 kB / 0.878 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.512e-05/0.002054, allocations: 4.656 kB / 0.878 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.002095, allocations: 4 kB / 0.878 GB, free: 6.109 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.002124, allocations: 0 / 0.878 GB, free: 6.109 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.12e-05/0.002145, allocations: 0.875 kB / 0.878 GB, free: 6.109 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.002159, allocations: 0 / 0.878 GB, free: 6.109 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-06/0.002162, allocations: 3.031 kB / 0.878 GB, free: 6.109 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.002176, allocations: 3.984 kB / 0.878 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.476e-05/0.002191, allocations: 1.094 kB / 0.878 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.641e-05/0.002257, allocations: 7.984 kB / 0.878 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.002259, allocations: 0 / 0.878 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.00226, allocations: 0 / 0.878 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002263, allocations: 0 / 0.878 GB, free: 6.098 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.0003829/0.002646, allocations: 345.1 kB / 0.8784 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.002681, allocations: 8.031 kB / 0.8784 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.00272, allocations: 9.859 kB / 0.8784 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.002834, allocations: 104.6 kB / 0.8785 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.002846, allocations: 1.5 kB / 0.8785 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.002855, allocations: 4.312 kB / 0.8785 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.522e-05/0.00295, allocations: 35.38 kB / 0.8785 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.002959, allocations: 0.9531 kB / 0.8785 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.002966, allocations: 384 / 0.8785 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.002969, allocations: 1.719 kB / 0.8785 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.002987, allocations: 7.938 kB / 0.8785 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.003413, allocations: 474.2 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.003591, allocations: 269.4 kB / 0.8792 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.003662, allocations: 127.9 kB / 0.8794 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.942e-05/0.003732, allocations: 123.4 kB / 0.8795 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.153e-05/0.003823, allocations: 160 kB / 0.8796 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.003824, allocations: 3.938 kB / 0.8796 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.83e-05/0.003902, allocations: 29.64 kB / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.004008, allocations: 174.5 kB / 0.8798 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.00414, allocations: 157.9 kB / 0.88 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.004158, allocations: 25.7 kB / 0.88 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.004468, allocations: 126.9 kB / 0.8801 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.00447, allocations: 0 / 0.8801 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.004503, allocations: 19.38 kB / 0.8802 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002693/0.004772, allocations: 496.7 kB / 0.8806 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-06/0.004776, allocations: 1.406 kB / 0.8806 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-06/0.00478, allocations: 0.75 kB / 0.8806 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.581e-05/0.004846, allocations: 119.2 kB / 0.8807 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-05/0.004919, allocations: 119.2 kB / 0.8809 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.185e-05/0.004981, allocations: 31.23 kB / 0.8809 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/0.005055, allocations: 123.2 kB / 0.881 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.674e-05/0.005142, allocations: 135.1 kB / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.005274, allocations: 238.4 kB / 0.8814 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.005341, allocations: 127.4 kB / 0.8815 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000129/0.00547, allocations: 246.4 kB / 0.8817 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.005573, allocations: 127.2 kB / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.005636, allocations: 123.1 kB / 0.882 GB, free: 1.887 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 0.0002251/0.005862, allocations: 395 kB / 0.8823 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.005962, allocations: 148.9 kB / 0.8825 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.006068, allocations: 155.8 kB / 0.8826 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001436/0.006211, allocations: 272.1 kB / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001356/0.006347, allocations: 264.1 kB / 0.8831 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001348/0.006482, allocations: 268 kB / 0.8834 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.006819, allocations: 0.4921 MB / 0.8839 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-05/0.0069, allocations: 152.8 kB / 0.884 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.006975, allocations: 148.9 kB / 0.8842 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.007118, allocations: 268 kB / 0.8844 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.007253, allocations: 264.1 kB / 0.8847 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000136/0.007388, allocations: 276 kB / 0.8849 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001289/0.007517, allocations: 268 kB / 0.8852 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.007786, allocations: 444 kB / 0.8856 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/0.00787, allocations: 148.9 kB / 0.8857 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.00802, allocations: 272 kB / 0.886 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.008132, allocations: 156.8 kB / 0.8862 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.008271, allocations: 272.1 kB / 0.8864 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.008348, allocations: 149.2 kB / 0.8866 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.177e-05/0.00842, allocations: 119.2 kB / 0.8867 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.00842, allocations: 0 / 0.8867 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002307/0.008651, allocations: 4 kB / 0.8867 GB, free: 12.85 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.0001775/0.008828, allocations: 210.4 kB / 0.8869 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.317e-05/0.008871, allocations: 0 / 0.8869 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008873, allocations: 4 kB / 0.8869 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.008874, allocations: 4.094 kB / 0.8869 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/0.00967, allocations: 0.7062 MB / 0.8876 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.009992, allocations: 215.3 kB / 0.8878 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.51e-05/0.01006, allocations: 59.22 kB / 0.8878 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.753e-06/0.01006, allocations: 0 / 0.8878 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.01008, allocations: 8.5 kB / 0.8878 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01008, allocations: 0 / 0.8878 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.00226/0.01234, allocations: 172.7 kB / 0.888 GB, free: 11.42 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] 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: 8.398552590981126]