Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001368/0.001368, allocations: 112.4 kB / 17.13 MB, free: 6.008 MB / 14.72 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.001555/0.001555, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 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.569/1.569, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.942/2.942, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.89 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.941/0.9431, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001896/0.945, allocations: 0.8934 MB / 1.323 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008651/0.9458, allocations: 0.9206 MB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.9459, allocations: 6.562 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.946, allocations: 11.2 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.155e-05/0.946, allocations: 7.875 kB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.9462, allocations: 79.27 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.9464, allocations: 129 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.9465, allocations: 46.81 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.544e-05/0.9466, allocations: 56.03 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.9467, allocations: 63.94 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.9467, allocations: 22.41 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.9467, allocations: 11.66 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.9467, allocations: 29.52 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.9468, allocations: 58.03 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.9469, allocations: 141.6 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.9469, allocations: 0 / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9469, allocations: 2.281 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.9469, allocations: 0 / 1.324 GB, free: 23.42 MB / 1.061 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.0005309/0.9475, allocations: 450.8 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.9475, allocations: 14.8 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.9475, allocations: 16.66 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.9477, allocations: 214 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.9478, allocations: 9.844 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.9478, allocations: 12.91 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.9481, allocations: 153.2 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.9481, allocations: 192 / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.9481, allocations: 11.47 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.9481, allocations: 2.969 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.9484, allocations: 125.1 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.949, allocations: 495.5 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.9492, allocations: 81.02 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.9493, allocations: 48.06 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.9493, allocations: 2.688 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.9493, allocations: 30.56 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.9493, allocations: 4 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004293/0.9497, allocations: 161.4 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.9498, allocations: 54.25 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.9499, allocations: 192.8 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.9499, allocations: 29.64 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.95, allocations: 116.8 kB / 1.327 GB, free: 21.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.95, allocations: 36.8 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.95, allocations: 37.05 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.9501, allocations: 321 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.9502, allocations: 39.91 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.9503, allocations: 47.98 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.9505, allocations: 97.44 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9505, allocations: 4 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002701/0.9508, allocations: 150.4 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.9508, allocations: 2.812 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.9508, allocations: 0 / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.9508, allocations: 2.844 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.951, allocations: 24.64 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.951, allocations: 1.156 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.9511, allocations: 18.3 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.9511, allocations: 10.47 kB / 1.327 GB, free: 21.2 MB / 1.061 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 6.651e-05/0.9512, allocations: 127.2 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.9512, allocations: 14.91 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.9515, allocations: 135.1 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9515, allocations: 1.688 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.9515, allocations: 0 / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.9515, allocations: 0.8438 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.9521, allocations: 456.7 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9521, allocations: 1.281 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.9522, allocations: 31.34 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.9522, allocations: 1.688 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.9522, allocations: 2.031 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.9522, allocations: 5.125 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9522, allocations: 1.75 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.9525, allocations: 242.3 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.9525, allocations: 98.05 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.9525, allocations: 4.938 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.9527, allocations: 12.83 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.9527, allocations: 15.11 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.9527, allocations: 8.031 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.798e-05/0.9528, allocations: 149.9 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9528, allocations: 5.344 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002551/0.9531, allocations: 22.41 kB / 1.329 GB, free: 20.18 MB / 1.061 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.0001232/0.9532, allocations: 102.3 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.9535, allocations: 101 kB / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.9535, allocations: 0.9062 kB / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.9537, allocations: 45.19 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.954, allocations: 17.12 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.9544, allocations: 282.8 kB / 1.329 GB, free: 19.81 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.9546, allocations: 0.7168 MB / 1.33 GB, free: 19.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.9546, allocations: 16.16 kB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9546, allocations: 0.5938 kB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of Templates: time 0.003837/0.9585, allocations: 1.57 MB / 1.331 GB, free: 18.96 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.369279769001878]