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.001307/0.001307, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001033/0.001033, allocations: 170 kB / 23.27 MB, free: 1.223 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.9514/0.9514, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.312/2.312, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.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 2.324e-06/2.324e-06, allocations: 0 / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.036e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001913/0.001943, allocations: 0.8805 MB / 0.8907 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009643/0.002907, allocations: 0.9249 MB / 0.8916 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.002993, allocations: 3.938 kB / 0.8916 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.003026, allocations: 11.86 kB / 0.8916 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.919e-05/0.003105, allocations: 11.81 kB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.003285, allocations: 67.84 kB / 0.8917 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.00346, allocations: 139.7 kB / 0.8918 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.003605, allocations: 45.66 kB / 0.8919 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.003719, allocations: 71.88 kB / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.00378, allocations: 51.73 kB / 0.892 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.003807, allocations: 12 kB / 0.892 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.003823, allocations: 12 kB / 0.892 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.003858, allocations: 31.89 kB / 0.892 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.003903, allocations: 39.91 kB / 0.8921 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.004055, allocations: 91.62 kB / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.004059, allocations: 0 / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.202e-06/0.00406, allocations: 4 kB / 0.8922 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.004065, allocations: 0 / 0.8922 GB, free: 7.301 MB / 0.8542 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.0004627/0.004527, allocations: 472.1 kB / 0.8926 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.004566, allocations: 8.625 kB / 0.8926 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.004607, allocations: 24.84 kB / 0.8926 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.004793, allocations: 168.3 kB / 0.8928 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.004806, allocations: 12.38 kB / 0.8928 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.004821, allocations: 16.31 kB / 0.8928 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.005015, allocations: 203.9 kB / 0.893 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005022, allocations: 4.188 kB / 0.893 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.005032, allocations: 4.375 kB / 0.893 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.005039, allocations: 4.375 kB / 0.893 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.005093, allocations: 47.89 kB / 0.8931 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.00554, allocations: 399.9 kB / 0.8935 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.141e-05/0.005621, allocations: 66.95 kB / 0.8935 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.005649, allocations: 19.69 kB / 0.8935 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.005671, allocations: 7.984 kB / 0.8935 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.069e-05/0.005762, allocations: 41.38 kB / 0.8936 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.005763, allocations: 0 / 0.8936 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0001575/0.005921, allocations: 85.7 kB / 0.8937 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.005943, allocations: 55.41 kB / 0.8937 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/0.006035, allocations: 192.2 kB / 0.8939 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.006048, allocations: 33.7 kB / 0.8939 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.006111, allocations: 170.5 kB / 0.8941 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.006127, allocations: 31.69 kB / 0.8941 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.006165, allocations: 35.36 kB / 0.8942 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.006267, allocations: 0.4962 MB / 0.8946 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.006289, allocations: 11.98 kB / 0.8947 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.00631, allocations: 12 kB / 0.8947 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.006365, allocations: 46.84 kB / 0.8947 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006367, allocations: 0 / 0.8947 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001019/0.006469, allocations: 89.64 kB / 0.8948 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.006479, allocations: 4 kB / 0.8948 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006483, allocations: 0 / 0.8948 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.006495, allocations: 3.938 kB / 0.8948 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.006584, allocations: 27.92 kB / 0.8948 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-06/0.006587, allocations: 4 kB / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.00662, allocations: 15.88 kB / 0.8949 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.006627, allocations: 4 kB / 0.8949 GB, free: 4.312 MB / 0.8542 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 7.378e-05/0.006701, allocations: 156.6 kB / 0.895 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.006723, allocations: 19.89 kB / 0.895 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.006849, allocations: 86.38 kB / 0.8951 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.006853, allocations: 7.938 kB / 0.8951 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.006855, allocations: 0 / 0.8951 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006859, allocations: 0 / 0.8951 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.007307, allocations: 368.9 kB / 0.8955 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.00731, allocations: 4 kB / 0.8955 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.007365, allocations: 15.98 kB / 0.8955 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.007369, allocations: 7.938 kB / 0.8955 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.007375, allocations: 0 / 0.8955 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.007377, allocations: 4 kB / 0.8955 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007378, allocations: 0 / 0.8955 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.007531, allocations: 258.9 kB / 0.8957 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.007545, allocations: 15.91 kB / 0.8958 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.007561, allocations: 11.94 kB / 0.8958 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-05/0.007616, allocations: 12.08 kB / 0.8958 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.00765, allocations: 15.92 kB / 0.8958 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.007657, allocations: 4 kB / 0.8958 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.791e-05/0.007705, allocations: 135.2 kB / 0.8959 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007705, allocations: 0 / 0.8959 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001697/0.007875, allocations: 27.94 kB / 0.896 GB, free: 3.082 MB / 0.8542 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.0001176/0.007992, allocations: 99.23 kB / 0.8961 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.008092, allocations: 51.59 kB / 0.8961 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.008095, allocations: 8 kB / 0.8961 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.008124, allocations: 27.61 kB / 0.8961 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.008337, allocations: 21.95 kB / 0.8962 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.008725, allocations: 258 kB / 0.8964 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.00877, allocations: 71.28 kB / 0.8965 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.008803, allocations: 8.484 kB / 0.8965 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/0.008888, allocations: 94.38 kB / 0.8966 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of SimCode: time 1.283e-06/0.008889, allocations: 0 / 0.8966 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of Templates: time 0.003054/0.01194, allocations: 1.06 MB / 0.8976 GB, free: 1.332 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] 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","",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.211959860753268]