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.0009597/0.0009597, allocations: 92.22 kB / 19.65 MB, free: 276 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.001007/0.001007, allocations: 173 kB / 23.03 MB, free: 1.543 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.144/2.144, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.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 5.581e-06/5.581e-06, allocations: 4 kB / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.517e-05/4.075e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.00312/0.003161, allocations: 0.8951 MB / 0.8791 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.00508, allocations: 0.9329 MB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.005254, allocations: 3.938 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.108e-05/0.005335, allocations: 11.86 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.005472, allocations: 15.88 kB / 0.8801 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.005818, allocations: 63.84 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.00616, allocations: 139.7 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.006364, allocations: 41.66 kB / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.006481, allocations: 75.75 kB / 0.8804 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/0.006549, allocations: 47.86 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.006582, allocations: 13.72 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.0066, allocations: 12 kB / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.006634, allocations: 31.89 kB / 0.8805 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.006692, allocations: 39.84 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.006899, allocations: 95.62 kB / 0.8806 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.006905, allocations: 4.938 kB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.425e-06/0.006907, allocations: 0 / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.006915, allocations: 1.125 kB / 0.8806 GB, free: 3.859 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00057/0.007484, allocations: 461.3 kB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.007533, allocations: 11.97 kB / 0.881 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.007599, allocations: 24.84 kB / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.007852, allocations: 164.7 kB / 0.8812 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.007869, allocations: 13.31 kB / 0.8812 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.007893, allocations: 16.31 kB / 0.8813 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.008176, allocations: 209.6 kB / 0.8815 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.008184, allocations: 192 / 0.8815 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.008201, allocations: 4.375 kB / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.008212, allocations: 4.375 kB / 0.8815 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.008312, allocations: 68.39 kB / 0.8815 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.008895, allocations: 421.2 kB / 0.8819 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.00902, allocations: 66.97 kB / 0.882 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.009064, allocations: 23.69 kB / 0.882 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.009089, allocations: 5.328 kB / 0.882 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.009124, allocations: 41.39 kB / 0.8821 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 5.13e-06/0.009129, allocations: 3.984 kB / 0.8821 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002556/0.009385, allocations: 90.8 kB / 0.8822 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.009419, allocations: 55.41 kB / 0.8822 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.009541, allocations: 200.7 kB / 0.8824 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.009558, allocations: 27.3 kB / 0.8824 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.009633, allocations: 170.5 kB / 0.8826 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.009655, allocations: 39.69 kB / 0.8826 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.009698, allocations: 31.31 kB / 0.8827 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.00982, allocations: 0.4908 MB / 0.8831 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.009862, allocations: 23.98 kB / 0.8832 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.009894, allocations: 15.94 kB / 0.8832 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.947e-05/0.009973, allocations: 47.67 kB / 0.8832 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009976, allocations: 0 / 0.8832 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001539/0.01013, allocations: 89.64 kB / 0.8833 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01015, allocations: 4 kB / 0.8833 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01015, allocations: 5.969 kB / 0.8833 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.01017, allocations: 0 / 0.8833 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.0103, allocations: 27.92 kB / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.01031, allocations: 0 / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.01035, allocations: 23.88 kB / 0.8834 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.01037, allocations: 4.719 kB / 0.8834 GB, free: 0.8125 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 (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.0001041/0.01047, allocations: 157.7 kB / 0.8835 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.0105, allocations: 11.95 kB / 0.8835 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.01069, allocations: 98.69 kB / 0.8836 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01069, allocations: 4 kB / 0.8836 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01069, allocations: 0 / 0.8836 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.0107, allocations: 4 kB / 0.8836 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.01107, allocations: 392.3 kB / 0.884 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.01107, allocations: 4 kB / 0.884 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.01114, allocations: 23.98 kB / 0.884 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.01114, allocations: 0 / 0.884 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.01115, allocations: 0 / 0.884 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.01116, allocations: 4 kB / 0.884 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01116, allocations: 4.094 kB / 0.884 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.01137, allocations: 266.8 kB / 0.8843 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.01138, allocations: 7.953 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.0114, allocations: 4 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/0.01146, allocations: 11.98 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.01151, allocations: 11.92 kB / 0.8843 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.01152, allocations: 8 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.771e-05/0.01158, allocations: 143.2 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01158, allocations: 0 / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001792/0.01176, allocations: 31.89 kB / 0.8845 GB, free: 15.54 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.0001363/0.01189, allocations: 103.2 kB / 0.8846 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.01206, allocations: 63.36 kB / 0.8847 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.01206, allocations: 7.984 kB / 0.8847 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.0121, allocations: 23.62 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.01236, allocations: 26.11 kB / 0.8847 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.01284, allocations: 266.5 kB / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.01289, allocations: 71.27 kB / 0.885 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.605e-05/0.01292, allocations: 8.5 kB / 0.885 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.01297, allocations: 12.5 kB / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of SimCode: time 1.302e-06/0.01297, allocations: 0 / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.003334/0.01631, allocations: 1.035 MB / 0.8861 GB, free: 13.88 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.486393754836172]