Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001094/0.001094, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009807/0.0009807, allocations: 173 kB / 23.49 MB, free: 1.055 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.087/2.087, allocations: 429.5 MB / 0.6736 GB, free: 4.035 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8782 GB, free: 5.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.601e-05, allocations: 3.406 kB / 0.8782 GB, free: 5.469 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001052/0.001068, allocations: 0.5928 MB / 0.8788 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 4.327e-05/0.001111, allocations: 1.172 kB / 0.8788 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.001136, allocations: 1.656 kB / 0.8788 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.00116, allocations: 3.938 kB / 0.8788 GB, free: 4.891 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.438e-05/0.001184, allocations: 4 kB / 0.8788 GB, free: 4.887 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.97e-05/0.001214, allocations: 0 / 0.8788 GB, free: 4.887 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.876e-05/0.001273, allocations: 8.859 kB / 0.8788 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.001314, allocations: 0.5 kB / 0.8788 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 2.922e-05/0.001343, allocations: 5.5 kB / 0.8788 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.137e-05/0.001364, allocations: 4.641 kB / 0.8788 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.001382, allocations: 0 / 0.8788 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 3.566e-06/0.001386, allocations: 0 / 0.8788 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.001398, allocations: 1.781 kB / 0.8788 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.001415, allocations: 0 / 0.8788 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 5.978e-05/0.001475, allocations: 1.344 kB / 0.8788 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.001477, allocations: 0 / 0.8788 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.7e-07/0.001477, allocations: 4 kB / 0.8788 GB, free: 4.867 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.001481, allocations: 1.094 kB / 0.8788 GB, free: 4.867 MB / 0.7917 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.0002453/0.001727, allocations: 349.2 kB / 0.8792 GB, free: 4.488 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.001762, allocations: 8.031 kB / 0.8792 GB, free: 4.48 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.001792, allocations: 1.594 kB / 0.8792 GB, free: 4.48 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.288e-05/0.001875, allocations: 114.2 kB / 0.8793 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.001886, allocations: 384 / 0.8793 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.001894, allocations: 384 / 0.8793 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.834e-05/0.001962, allocations: 30.2 kB / 0.8793 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.001967, allocations: 1.719 kB / 0.8793 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.001975, allocations: 4.375 kB / 0.8793 GB, free: 4.305 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.001981, allocations: 0.9219 kB / 0.8793 GB, free: 4.305 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.085e-05/0.001992, allocations: 3.938 kB / 0.8793 GB, free: 4.301 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.002244, allocations: 481.5 kB / 0.8798 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.422e-05/0.002318, allocations: 269.4 kB / 0.8801 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.00235, allocations: 130.9 kB / 0.8802 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.002374, allocations: 123.1 kB / 0.8803 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.002417, allocations: 156.6 kB / 0.8804 GB, free: 3.102 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.002418, allocations: 0 / 0.8804 GB, free: 3.102 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.347e-05/0.002472, allocations: 33.64 kB / 0.8805 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.002522, allocations: 174.5 kB / 0.8806 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/0.002599, allocations: 150.6 kB / 0.8808 GB, free: 2.715 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.002607, allocations: 27.05 kB / 0.8808 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.002643, allocations: 130.9 kB / 0.8809 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.002645, allocations: 4 kB / 0.8809 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.002662, allocations: 19.5 kB / 0.881 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.002764, allocations: 496.1 kB / 0.8814 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-06/0.002768, allocations: 0 / 0.8814 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-06/0.002772, allocations: 0.75 kB / 0.8814 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.92e-05/0.002801, allocations: 123.2 kB / 0.8816 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.537e-05/0.002826, allocations: 119.2 kB / 0.8817 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.312e-05/0.002859, allocations: 25.7 kB / 0.8817 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.002893, allocations: 127.2 kB / 0.8818 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.002921, allocations: 127.1 kB / 0.8819 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.567e-05/0.002976, allocations: 238.4 kB / 0.8822 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.868e-05/0.003005, allocations: 135.2 kB / 0.8823 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.76e-05/0.003053, allocations: 246.4 kB / 0.8825 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.0031, allocations: 119.2 kB / 0.8826 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.003134, allocations: 127.1 kB / 0.8828 GB, free: 0.6523 MB / 0.7917 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.0001066/0.003241, allocations: 395 kB / 0.8831 GB, free: 260 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.003284, allocations: 144.9 kB / 0.8833 GB, free: 108 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.003342, allocations: 163.8 kB / 0.8834 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.842e-05/0.0034, allocations: 264.1 kB / 0.8837 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.484e-05/0.003455, allocations: 268.1 kB / 0.8839 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005631/0.004018, allocations: 272 kB / 0.8842 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.004173, allocations: 495.9 kB / 0.8847 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-05/0.004206, allocations: 156.8 kB / 0.8848 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.004233, allocations: 144.9 kB / 0.885 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.574e-05/0.004289, allocations: 268.1 kB / 0.8852 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.589e-05/0.004345, allocations: 272 kB / 0.8855 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-05/0.0044, allocations: 272 kB / 0.8857 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.112e-05/0.004451, allocations: 268 kB / 0.886 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.004564, allocations: 443.9 kB / 0.8864 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.0046, allocations: 152.9 kB / 0.8866 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.004679, allocations: 268.1 kB / 0.8868 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.004757, allocations: 156.8 kB / 0.887 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.004832, allocations: 264.1 kB / 0.8872 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.004874, allocations: 153.2 kB / 0.8874 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.004919, allocations: 123.2 kB / 0.8875 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.004919, allocations: 0 / 0.8875 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001657/0.005085, allocations: 0 / 0.8875 GB, free: 11.61 MB / 0.8073 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 9.734e-05/0.005183, allocations: 214.4 kB / 0.8877 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.468e-05/0.005227, allocations: 8 kB / 0.8877 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.005229, allocations: 0 / 0.8877 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.00523, allocations: 0 / 0.8877 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.005522, allocations: 0.7063 MB / 0.8884 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.00575, allocations: 212.5 kB / 0.8886 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.005787, allocations: 51.36 kB / 0.8886 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.645e-06/0.00579, allocations: 0 / 0.8886 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.005804, allocations: 8.5 kB / 0.8886 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of SimCode: time 7.52e-07/0.005805, allocations: 0 / 0.8886 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of Templates: time 0.001359/0.007164, allocations: 176.2 kB / 0.8888 GB, free: 10.19 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","",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.291366925928742]