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.001639/0.001639, allocations: 110 kB / 18.93 MB, free: 2.945 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.002317/0.002317, allocations: 190 kB / 22.23 MB, free: 5.16 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.57/1.57, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.8/2.8, allocations: 443.5 MB / 0.7321 GB, free: 12.53 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.00198/0.00198, allocations: 67.89 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 160.8 MB / 1.219 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002492/1.031, allocations: 0.9044 MB / 1.219 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001261/1.033, allocations: 0.8975 MB / 1.22 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/1.033, allocations: 7.938 kB / 1.22 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.615e-05/1.033, allocations: 11.86 kB / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.769e-05/1.033, allocations: 7.875 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/1.033, allocations: 67.84 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/1.033, allocations: 135.8 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/1.034, allocations: 57.62 kB / 1.221 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/1.034, allocations: 47.8 kB / 1.221 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/1.034, allocations: 59.75 kB / 1.221 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/1.034, allocations: 15.94 kB / 1.221 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.282e-05/1.034, allocations: 12 kB / 1.221 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/1.034, allocations: 39.89 kB / 1.221 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/1.034, allocations: 55.61 kB / 1.221 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/1.034, allocations: 137.8 kB / 1.221 GB, free: 1.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.034, allocations: 7.938 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/1.034, allocations: 0 / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.762e-06/1.034, allocations: 4 kB / 1.221 GB, free: 1.918 MB / 0.92 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.0007566/1.035, allocations: 442.9 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.035, allocations: 8.031 kB / 1.221 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/1.035, allocations: 16.84 kB / 1.221 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/1.035, allocations: 220 kB / 1.222 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/1.035, allocations: 20.38 kB / 1.222 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/1.035, allocations: 12.38 kB / 1.222 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/1.036, allocations: 142.2 kB / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.036, allocations: 192 / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/1.036, allocations: 15.88 kB / 1.222 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.036, allocations: 0 / 1.222 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/1.036, allocations: 131.9 kB / 1.222 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/1.037, allocations: 488.3 kB / 1.222 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/1.037, allocations: 78.48 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/1.037, allocations: 44.95 kB / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/1.037, allocations: 8 kB / 1.222 GB, free: 172 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/1.037, allocations: 34.56 kB / 1.223 GB, free: 128 kB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/1.037, allocations: 0 / 1.223 GB, free: 128 kB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0005113/1.038, allocations: 161.4 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/1.038, allocations: 55.41 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/1.038, allocations: 192.1 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/1.038, allocations: 33.7 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/1.038, allocations: 119.9 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/1.038, allocations: 35.69 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/1.038, allocations: 29.7 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.038, allocations: 322.8 kB / 1.223 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/1.039, allocations: 43.97 kB / 1.223 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/1.039, allocations: 43.61 kB / 1.223 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/1.039, allocations: 100.8 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.039, allocations: 0 / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003157/1.039, allocations: 145.5 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.039, allocations: 11.94 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.039, allocations: 0 / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/1.039, allocations: 3.984 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/1.039, allocations: 27.98 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/1.039, allocations: 0 / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/1.04, allocations: 19.88 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/1.04, allocations: 8 kB / 1.224 GB, free: 14.73 MB / 0.9356 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.0001097/1.04, allocations: 125.7 kB / 1.224 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/1.04, allocations: 15.91 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/1.04, allocations: 139 kB / 1.224 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.04, allocations: 7.984 kB / 1.224 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.04, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.04, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007301/1.041, allocations: 456.8 kB / 1.225 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.041, allocations: 3.984 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/1.041, allocations: 32.02 kB / 1.225 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.041, allocations: 480 / 1.225 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/1.041, allocations: 8 kB / 1.225 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.041, allocations: 0 / 1.225 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.041, allocations: 4 kB / 1.225 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/1.041, allocations: 249.8 kB / 1.225 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/1.041, allocations: 89.02 kB / 1.225 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/1.041, allocations: 4 kB / 1.225 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/1.042, allocations: 19.97 kB / 1.225 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/1.042, allocations: 11.92 kB / 1.225 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/1.042, allocations: 4 kB / 1.225 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001325/1.042, allocations: 145.2 kB / 1.225 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.042, allocations: 0 / 1.225 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002647/1.042, allocations: 24 kB / 1.225 GB, free: 13.29 MB / 0.9356 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.0001687/1.042, allocations: 103.2 kB / 1.225 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003133/1.042, allocations: 91.88 kB / 1.225 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.043, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/1.043, allocations: 51.91 kB / 1.225 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/1.043, allocations: 18.34 kB / 1.225 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/1.044, allocations: 257.5 kB / 1.226 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/1.044, allocations: 0.7124 MB / 1.226 GB, free: 12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.2e-05/1.044, allocations: 17.02 kB / 1.226 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/1.044, allocations: 19.42 kB / 1.226 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/1.044, allocations: 0 / 1.226 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of Templates: time 0.004483/1.048, allocations: 1.208 MB / 1.227 GB, free: 10.76 MB / 0.9356 GB " [Timeout remaining time 299] 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: 9.354236890561879]