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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008493/0.008493, allocations: 101.7 kB / 15.73 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.778/2.778, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 71.88 kB / 1.054 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8968/0.8982, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.00231/0.9005, allocations: 0.8902 MB / 1.208 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.9018, allocations: 0.8858 MB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.902, allocations: 4 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.545e-05/0.902, allocations: 15.8 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.727e-05/0.9022, allocations: 7.875 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.9024, allocations: 63.92 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.9027, allocations: 147.6 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.9029, allocations: 57.42 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.903, allocations: 51.84 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.623e-05/0.9031, allocations: 67.67 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.9031, allocations: 15.94 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.9032, allocations: 12 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.9032, allocations: 35.84 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.9033, allocations: 59.67 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.9035, allocations: 135.5 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9035, allocations: 4 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9035, allocations: 0 / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.9035, allocations: 0 / 1.21 GB, free: 11.13 MB / 0.9356 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.0006924/0.9042, allocations: 449.3 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.9043, allocations: 8.031 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.84e-05/0.9043, allocations: 46.73 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.9044, allocations: 16.75 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.9047, allocations: 212 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.9047, allocations: 20.31 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.9048, allocations: 16.36 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.9051, allocations: 142.2 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.9051, allocations: 3.938 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.9051, allocations: 4 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.9051, allocations: 4 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.9054, allocations: 131.9 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.9063, allocations: 500 kB / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.9065, allocations: 82.48 kB / 1.211 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.9066, allocations: 40.83 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.9066, allocations: 12 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.9067, allocations: 30.56 kB / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.9067, allocations: 192 / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004651/0.9071, allocations: 157.4 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.9072, allocations: 59.34 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.9074, allocations: 195.5 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.9074, allocations: 29.7 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.9075, allocations: 108.4 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.9076, allocations: 43.44 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.9076, allocations: 29.7 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9077, allocations: 318.8 kB / 1.212 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.9079, allocations: 47.91 kB / 1.212 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.908, allocations: 47.23 kB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.9082, allocations: 92.81 kB / 1.212 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.9082, allocations: 3.938 kB / 1.212 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002995/0.9085, allocations: 149.4 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.9085, allocations: 4 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.9086, allocations: 0 / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.9086, allocations: 0 / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.9087, allocations: 27.98 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.9088, allocations: 0 / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.9089, allocations: 27.77 kB / 1.213 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.9089, allocations: 4 kB / 1.213 GB, free: 7.887 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.0001153/0.909, allocations: 122.2 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.9091, allocations: 19.75 kB / 1.213 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.9094, allocations: 135 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.9094, allocations: 4 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9094, allocations: 3.984 kB / 1.213 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.9095, allocations: 4 kB / 1.213 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.9101, allocations: 452.8 kB / 1.213 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.9101, allocations: 0 / 1.213 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.9102, allocations: 28.06 kB / 1.213 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.9103, allocations: 4 kB / 1.213 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.9103, allocations: 4 kB / 1.213 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.9103, allocations: 3.938 kB / 1.213 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.9103, allocations: 4 kB / 1.213 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.9106, allocations: 241.9 kB / 1.214 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.9107, allocations: 88.92 kB / 1.214 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.9107, allocations: 4 kB / 1.214 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.9108, allocations: 19.97 kB / 1.214 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.9109, allocations: 11.94 kB / 1.214 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.9109, allocations: 4.188 kB / 1.214 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001196/0.911, allocations: 144.1 kB / 1.214 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9111, allocations: 3.938 kB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002616/0.9113, allocations: 27.94 kB / 1.214 GB, free: 6.453 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.0008087/0.9121, allocations: 0.7772 MB / 1.215 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.9124, allocations: 99.88 kB / 1.215 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.9125, allocations: 4 kB / 1.215 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.9126, allocations: 48.09 kB / 1.215 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.9129, allocations: 19.94 kB / 1.215 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.9153, allocations: 1.881 MB / 1.217 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.9156, allocations: 0.7084 MB / 1.217 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.587e-05/0.9157, allocations: 21.06 kB / 1.217 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.9157, allocations: 39.42 kB / 1.217 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.9157, allocations: 0 / 1.217 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.9354, allocations: 2.823 MB / 1.22 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.664, allocations: 4 kB / 1.22 GB, free: 15.97 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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