Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 71.89 kB / 1.059 GB, free: 304 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.38, allocations: 160.7 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002342/0.3823, allocations: 0.9074 MB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3836, allocations: 0.8897 MB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.3837, allocations: 4 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.803e-05/0.3838, allocations: 15.8 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.3838, allocations: 7.875 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.384, allocations: 67.86 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.3843, allocations: 139.7 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.3845, allocations: 49.45 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.342e-05/0.3846, allocations: 55.78 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3847, allocations: 67.67 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.3847, allocations: 12 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.3847, allocations: 12 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.3848, allocations: 23.92 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.631e-05/0.3848, allocations: 63.66 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.385, allocations: 143.3 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.385, allocations: 0 / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3851, allocations: 0 / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3851, allocations: 4 kB / 1.219 GB, free: 12.8 MB / 0.9669 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.0008068/0.3859, allocations: 450.9 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3859, allocations: 12.02 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.386, allocations: 16.84 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.3863, allocations: 212.1 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3863, allocations: 12.38 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.3863, allocations: 12.38 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.3867, allocations: 146.2 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3867, allocations: 192 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.3867, allocations: 7.938 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3867, allocations: 4 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.3871, allocations: 131.9 kB / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009365/0.388, allocations: 488.2 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.3882, allocations: 87.48 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.3883, allocations: 48.83 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3884, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3884, allocations: 42.5 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3884, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004816/0.3889, allocations: 157.9 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.3889, allocations: 51.41 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3892, allocations: 195.5 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3892, allocations: 29.8 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.3893, allocations: 123.9 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.3893, allocations: 43.61 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.3894, allocations: 25.72 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3895, allocations: 322.8 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.3897, allocations: 47.97 kB / 1.221 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.3898, allocations: 39.97 kB / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.39, allocations: 96.81 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.39, allocations: 0 / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003161/0.3903, allocations: 144.8 kB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3903, allocations: 8 kB / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3903, allocations: 0 / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3904, allocations: 7.922 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3905, allocations: 27.98 kB / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3905, allocations: 0 / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.687e-05/0.3906, allocations: 23.89 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3906, allocations: 0 / 1.221 GB, free: 9.613 MB / 0.9669 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.0001187/0.3907, allocations: 125.8 kB / 1.222 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.3908, allocations: 11.91 kB / 1.222 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.3911, allocations: 143 kB / 1.222 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3911, allocations: 0 / 1.222 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3911, allocations: 0 / 1.222 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3911, allocations: 4 kB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.3918, allocations: 452.8 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3918, allocations: 4 kB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.3919, allocations: 19.98 kB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3919, allocations: 0 / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3919, allocations: 12.09 kB / 1.222 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3919, allocations: 0 / 1.222 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3919, allocations: 3.938 kB / 1.222 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.3923, allocations: 249.9 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.3924, allocations: 105.1 kB / 1.223 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3924, allocations: 3.984 kB / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.3925, allocations: 15.92 kB / 1.223 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.3926, allocations: 15.92 kB / 1.223 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3926, allocations: 4 kB / 1.223 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001215/0.3927, allocations: 144.1 kB / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3927, allocations: 0 / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003357/0.3931, allocations: 28 kB / 1.223 GB, free: 8.172 MB / 0.9669 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.0001639/0.3932, allocations: 99.25 kB / 1.223 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.3935, allocations: 95.88 kB / 1.223 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3935, allocations: 0 / 1.223 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.3937, allocations: 48.11 kB / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.394, allocations: 21.55 kB / 1.223 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.3946, allocations: 265.4 kB / 1.223 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.3949, allocations: 0.7123 MB / 1.224 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.409e-05/0.395, allocations: 13.08 kB / 1.224 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.3951, allocations: 15.44 kB / 1.224 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of SimCode: time 8.21e-07/0.3951, allocations: 0 / 1.224 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of Templates: time 0.004376/0.3994, allocations: 1.199 MB / 1.225 GB, free: 5.648 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.557156571187079]