Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001421/0.001421, allocations: 92.7 kB / 19.44 MB, free: 320 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.001708/0.001708, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.234/3.234, allocations: 429.6 MB / 0.673 GB, free: 3.887 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.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.8777 GB, free: 5.25 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.21e-05, allocations: 6.75 kB / 0.8777 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002232/0.002264, allocations: 0.8366 MB / 0.8785 GB, free: 4.434 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.003928, allocations: 0.9148 MB / 0.8794 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.004033, allocations: 8.156 kB / 0.8794 GB, free: 3.5 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.677e-05/0.00408, allocations: 11.16 kB / 0.8794 GB, free: 3.492 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.347e-05/0.004174, allocations: 11.81 kB / 0.8794 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.004422, allocations: 67.89 kB / 0.8795 GB, free: 3.414 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.004699, allocations: 135.7 kB / 0.8796 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.004869, allocations: 45.66 kB / 0.8797 GB, free: 3.234 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.005013, allocations: 79.8 kB / 0.8797 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.005097, allocations: 35.88 kB / 0.8798 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.005135, allocations: 16 kB / 0.8798 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.439e-05/0.005159, allocations: 12.94 kB / 0.8798 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.005207, allocations: 35.89 kB / 0.8798 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.613e-05/0.005273, allocations: 44.88 kB / 0.8799 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.005511, allocations: 155.4 kB / 0.88 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005514, allocations: 0 / 0.88 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005515, allocations: 1.125 kB / 0.88 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.005522, allocations: 0 / 0.88 GB, free: 2.863 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007788/0.006301, allocations: 366.9 kB / 0.8804 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.006343, allocations: 8.969 kB / 0.8804 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.377e-05/0.006437, allocations: 28.84 kB / 0.8804 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.006767, allocations: 154.9 kB / 0.8805 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.00679, allocations: 8.375 kB / 0.8806 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.006821, allocations: 15.81 kB / 0.8806 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.007261, allocations: 228.1 kB / 0.8808 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.007272, allocations: 192 / 0.8808 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.007293, allocations: 4.375 kB / 0.8808 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.0073, allocations: 4.375 kB / 0.8808 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.007668, allocations: 131.8 kB / 0.8809 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.008481, allocations: 397.7 kB / 0.8813 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.008698, allocations: 74.55 kB / 0.8814 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.008838, allocations: 51.05 kB / 0.8814 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.008862, allocations: 3.938 kB / 0.8814 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.008901, allocations: 34.56 kB / 0.8815 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.008902, allocations: 0 / 0.8815 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of matching and sorting (n=10): time 0.0005578/0.00946, allocations: 163.1 kB / 0.8816 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.009511, allocations: 55.41 kB / 0.8817 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.009676, allocations: 143.9 kB / 0.8818 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.009704, allocations: 29.7 kB / 0.8818 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.009814, allocations: 127.8 kB / 0.882 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.009852, allocations: 35.64 kB / 0.882 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.009916, allocations: 29.7 kB / 0.882 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.0101, allocations: 322.8 kB / 0.8823 GB, free: 332 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.01024, allocations: 39.97 kB / 0.8824 GB, free: 292 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.01039, allocations: 35.98 kB / 0.8824 GB, free: 256 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.01066, allocations: 106.9 kB / 0.8825 GB, free: 148 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01067, allocations: 0 / 0.8825 GB, free: 148 kB / 0.7917 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003762/0.01104, allocations: 149.6 kB / 0.8826 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.01106, allocations: 7.938 kB / 0.8827 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01107, allocations: 0 / 0.8827 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.01109, allocations: 4 kB / 0.8827 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.01126, allocations: 23.94 kB / 0.8827 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.01127, allocations: 0 / 0.8827 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.01139, allocations: 19.94 kB / 0.8827 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.01141, allocations: 4 kB / 0.8827 GB, free: 15.93 MB / 0.8073 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 (13): * Single equations (assignments): 13 * 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.0001254/0.01153, allocations: 117.8 kB / 0.8828 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.01158, allocations: 15.95 kB / 0.8828 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.01196, allocations: 138.3 kB / 0.883 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01196, allocations: 0 / 0.883 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01196, allocations: 0 / 0.883 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.01197, allocations: 3.984 kB / 0.883 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.01261, allocations: 388.5 kB / 0.8833 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01261, allocations: 0 / 0.8833 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.01273, allocations: 27.92 kB / 0.8834 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01273, allocations: 0 / 0.8834 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.01274, allocations: 0 / 0.8834 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.01274, allocations: 4 kB / 0.8834 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01274, allocations: 0 / 0.8834 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.01315, allocations: 246 kB / 0.8836 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.01317, allocations: 15.94 kB / 0.8836 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.01319, allocations: 0 / 0.8836 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.01335, allocations: 11.98 kB / 0.8836 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.0134, allocations: 11.98 kB / 0.8836 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.0134, allocations: 4 kB / 0.8836 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.71e-05/0.0135, allocations: 113.6 kB / 0.8837 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0135, allocations: 0 / 0.8837 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002655/0.01377, allocations: 31.89 kB / 0.8838 GB, free: 14.74 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001443/0.01391, allocations: 103.2 kB / 0.8839 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.01425, allocations: 93.27 kB / 0.884 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01425, allocations: 0 / 0.884 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.01439, allocations: 43.91 kB / 0.884 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.01469, allocations: 24.11 kB / 0.884 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005935/0.01529, allocations: 255.8 kB / 0.8843 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.0154, allocations: 90.28 kB / 0.8844 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.461e-05/0.01545, allocations: 12.42 kB / 0.8844 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.0155, allocations: 20.5 kB / 0.8844 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of SimCode: time 7.42e-07/0.0155, allocations: 0 / 0.8844 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.004065/0.01957, allocations: 0.9859 MB / 0.8854 GB, free: 13.07 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.382793245022185]