Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001391/0.001391, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001413/0.001413, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.467/2.467, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.89 kB / 1.107 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7488, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001743/0.7505, allocations: 0.9081 MB / 1.272 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008174/0.7514, allocations: 0.8905 MB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.92e-05/0.7514, allocations: 2.688 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.7515, allocations: 13.92 kB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.7515, allocations: 12.55 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.7517, allocations: 63.55 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.7519, allocations: 135.2 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.752, allocations: 53.12 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.7521, allocations: 55.41 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.7522, allocations: 62.3 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.7522, allocations: 13.47 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.7522, allocations: 13.41 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.7523, allocations: 38.91 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.7523, allocations: 56.77 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.7525, allocations: 137.4 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7525, allocations: 4.812 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7525, allocations: 0 / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.7525, allocations: 0 / 1.274 GB, free: 6.098 MB / 0.9981 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.0004834/0.753, allocations: 447.2 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.753, allocations: 11.16 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.753, allocations: 50.2 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.7531, allocations: 16.97 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.7532, allocations: 216.9 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.7532, allocations: 17.41 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.7533, allocations: 17.34 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.7535, allocations: 147.9 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7535, allocations: 3.938 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.7536, allocations: 5.938 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.7536, allocations: 2.625 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.7538, allocations: 126.2 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005952/0.7544, allocations: 0.4892 MB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.7546, allocations: 82.41 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.7547, allocations: 44.34 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.7547, allocations: 1.25 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.7548, allocations: 37.88 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7548, allocations: 0.8438 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004264/0.7552, allocations: 156.3 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.7552, allocations: 53.28 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.7553, allocations: 196.8 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.7554, allocations: 27.02 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.7554, allocations: 112.6 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.7554, allocations: 34.91 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.7555, allocations: 29.08 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.697e-05/0.7555, allocations: 322.7 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.7556, allocations: 40.78 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.7557, allocations: 49.38 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.7559, allocations: 94.31 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7559, allocations: 4.781 kB / 1.277 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002743/0.7562, allocations: 145 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.7562, allocations: 5.312 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.7562, allocations: 0 / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.7562, allocations: 4.422 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.7564, allocations: 33.23 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.7564, allocations: 4 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.7565, allocations: 23 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.7565, allocations: 2.094 kB / 1.277 GB, free: 3.836 MB / 0.9981 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 5.473e-05/0.7565, allocations: 128.7 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.7566, allocations: 15.16 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.7569, allocations: 142.5 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.7569, allocations: 4.875 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.7569, allocations: 0.9688 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7569, allocations: 4 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.7573, allocations: 453.5 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7573, allocations: 1.031 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.7574, allocations: 25.36 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.7574, allocations: 2 kB / 1.278 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.7575, allocations: 0.9375 kB / 1.278 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.7575, allocations: 1.594 kB / 1.278 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7575, allocations: 1.219 kB / 1.278 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.7577, allocations: 245.6 kB / 1.278 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.7578, allocations: 99.67 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.7578, allocations: 3.328 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.7579, allocations: 19.97 kB / 1.278 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.7579, allocations: 16.42 kB / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.758, allocations: 5.734 kB / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.688e-05/0.758, allocations: 144.8 kB / 1.278 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.758, allocations: 0 / 1.278 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002291/0.7583, allocations: 22.59 kB / 1.278 GB, free: 2.805 MB / 0.9981 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.0004485/0.7587, allocations: 0.7817 MB / 1.279 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.759, allocations: 91.38 kB / 1.279 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.759, allocations: 0 / 1.279 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.7591, allocations: 45.73 kB / 1.279 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.7594, allocations: 32.25 kB / 1.279 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.7612, allocations: 1.889 MB / 1.281 GB, free: 16.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.7615, allocations: 0.7055 MB / 1.281 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.772e-05/0.7615, allocations: 14.39 kB / 1.282 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.7616, allocations: 43.14 kB / 1.282 GB, free: 15.82 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/0.7616, allocations: 0 / 1.282 GB, free: 15.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.7861, allocations: 2.809 MB / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.873, allocations: 2.891 kB / 1.284 GB, free: 15.37 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,line1.u,line1.y,line2.y,line3.y Variables in the result:f1.k,f1.y,f2.k,f2.y,line1.f1,line1.f2,line1.limitAbove,line1.limitBelow,line1.u,line1.x1,line1.x2,line1.y,line2.f1,line2.f2,line2.limitAbove,line2.limitBelow,line2.u,line2.x1,line2.x2,line2.y,line3.f1,line3.f2,line3.limitAbove,line3.limitBelow,line3.u,line3.x1,line3.x2,line3.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,time,x1.k,x1.y,x2.k,x2.y [Calling sys.exit(0), Time elapsed: 13.106301449000057]