Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.008021/0.008021, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.002032/0.002033, allocations: 197.7 kB / 16.67 MB, free: 5.508 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 0.9505 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7942/0.7955, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001927/0.7975, allocations: 0.8841 MB / 1.088 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.7985, allocations: 0.8866 MB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.444e-05/0.7986, allocations: 2.094 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.225e-05/0.7987, allocations: 13.97 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.904e-05/0.7988, allocations: 9.797 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.799, allocations: 70.41 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.7992, allocations: 135.5 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.7994, allocations: 62.38 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.889e-05/0.7995, allocations: 51.94 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.7996, allocations: 62.81 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.7996, allocations: 12.75 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.486e-05/0.7996, allocations: 12.78 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.7997, allocations: 35 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.7997, allocations: 61.19 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.7999, allocations: 139.7 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7999, allocations: 1.125 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7999, allocations: 0 / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.7999, allocations: 3.938 kB / 1.09 GB, free: 3.668 MB / 0.8575 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.0005492/0.8005, allocations: 446 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.8005, allocations: 13.62 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.8006, allocations: 46.33 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.8006, allocations: 17.09 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.8009, allocations: 213.5 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.8009, allocations: 9.5 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.8009, allocations: 12.69 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.8012, allocations: 151.5 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.8012, allocations: 7.938 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.8013, allocations: 6.703 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.8013, allocations: 2.156 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.8016, allocations: 124.9 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/0.8023, allocations: 0.4904 MB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.8025, allocations: 93.72 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.8027, allocations: 46.11 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.8027, allocations: 2.453 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.8027, allocations: 35.72 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.8027, allocations: 0.625 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005071/0.8032, allocations: 157.5 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.8033, allocations: 54.02 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.8035, allocations: 194.9 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.8035, allocations: 27.2 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.8036, allocations: 110.5 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.8036, allocations: 34.72 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.8037, allocations: 27.7 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.8037, allocations: 326.9 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.8039, allocations: 44.77 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.804, allocations: 43.52 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.8043, allocations: 94.11 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8043, allocations: 3.938 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003052/0.8046, allocations: 144.6 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.8046, allocations: 5.953 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.8046, allocations: 0 / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8046, allocations: 0.9062 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.8048, allocations: 29.28 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8048, allocations: 0.9062 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.734e-05/0.8049, allocations: 27.75 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.8049, allocations: 3.703 kB / 1.093 GB, free: 1.418 MB / 0.8575 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 6.838e-05/0.805, allocations: 127.8 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.805, allocations: 11 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.8054, allocations: 148.9 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.8054, allocations: 1.188 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8054, allocations: 0.5156 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8054, allocations: 1.172 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.8061, allocations: 453.5 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8061, allocations: 1.781 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.8062, allocations: 24.5 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.8062, allocations: 2 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.8062, allocations: 1.672 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.8062, allocations: 2.188 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8062, allocations: 5.875 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.8066, allocations: 244.8 kB / 1.094 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.8066, allocations: 100.3 kB / 1.094 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.8066, allocations: 6.797 kB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.8068, allocations: 12.45 kB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.8068, allocations: 20.05 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.8069, allocations: 3.344 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00011/0.807, allocations: 146.4 kB / 1.094 GB, free: 408 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.807, allocations: 0 / 1.094 GB, free: 408 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002534/0.8072, allocations: 26.72 kB / 1.094 GB, free: 400 kB / 0.8575 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.0006234/0.8079, allocations: 0.7805 MB / 1.095 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.8082, allocations: 98.62 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8082, allocations: 0.7188 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.8084, allocations: 55.03 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.8087, allocations: 20.84 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.8116, allocations: 1.884 MB / 1.097 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.812, allocations: 0.7109 MB / 1.098 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.648e-05/0.8121, allocations: 13.11 kB / 1.098 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.8122, allocations: 39.09 kB / 1.098 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.8122, allocations: 0 / 1.098 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.8358, allocations: 2.856 MB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.819, allocations: 4.469 kB / 1.1 GB, free: 12.95 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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