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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00712/0.00712, allocations: 101 kB / 15.73 MB, free: 6.043 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.001305/0.001305, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.695/1.695, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.643/2.643, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 69.08 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.401, allocations: 140.4 MB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002748/0.4038, allocations: 0.9024 MB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.4053, allocations: 0.8819 MB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.4055, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.595e-05/0.4055, allocations: 15.8 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.4057, allocations: 7.875 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.406, allocations: 67.91 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.4063, allocations: 139.7 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.4066, allocations: 61.2 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.4067, allocations: 55.78 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.4069, allocations: 59.69 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.594e-05/0.4069, allocations: 16 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.683e-05/0.4069, allocations: 12 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.407, allocations: 31.91 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.4071, allocations: 59.66 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.4074, allocations: 143.4 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.4074, allocations: 4 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4074, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.4074, allocations: 0 / 1.09 GB, free: 14.96 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.0009564/0.4084, allocations: 443.1 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.4084, allocations: 8.031 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.4085, allocations: 16.75 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.4088, allocations: 220 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4089, allocations: 8.375 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.4089, allocations: 16.38 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.4093, allocations: 146.7 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4093, allocations: 192 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.4093, allocations: 7.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4093, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.4097, allocations: 123.9 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.4106, allocations: 0.4921 MB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.4108, allocations: 90.42 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.4109, allocations: 40.83 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.411, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.411, allocations: 38.56 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.411, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005135/0.4116, allocations: 153.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.4116, allocations: 51.41 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.4118, allocations: 187.5 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.4119, allocations: 37.69 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.412, allocations: 119.9 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.4121, allocations: 31.47 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.4122, allocations: 37.58 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4124, allocations: 322.8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.4125, allocations: 43.97 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.4126, allocations: 43.97 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.4129, allocations: 92.83 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4129, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003289/0.4132, allocations: 142.4 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4133, allocations: 8 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.4133, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.4133, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.4135, allocations: 31.92 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4135, allocations: 4 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.4136, allocations: 23.73 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.4137, allocations: 4 kB / 1.093 GB, free: 11.78 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 0.0001409/0.4138, allocations: 121.8 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.4138, allocations: 11.89 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.4142, allocations: 151.2 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4142, allocations: 0 / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4142, allocations: 4.094 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4143, allocations: 3.938 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.4149, allocations: 452.8 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4149, allocations: 4 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.415, allocations: 20.08 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.415, allocations: 4 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.415, allocations: 8 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.415, allocations: 0 / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.415, allocations: 3.938 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.4154, allocations: 251.2 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.4155, allocations: 88.92 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.4155, allocations: 7.984 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4157, allocations: 11.98 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.4157, allocations: 11.94 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.4157, allocations: 7.984 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001367/0.4159, allocations: 145.2 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4159, allocations: 4 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002489/0.4162, allocations: 24 kB / 1.095 GB, free: 10.35 MB / 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.0002413/0.4164, allocations: 107.2 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003469/0.4168, allocations: 107.1 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4168, allocations: 0 / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.4169, allocations: 51.97 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.4173, allocations: 17.72 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.4179, allocations: 249.5 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.4183, allocations: 0.7085 MB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.04e-05/0.4184, allocations: 13.08 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.4185, allocations: 19.44 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.4185, allocations: 0 / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of Templates: time 0.004268/0.4227, allocations: 1.166 MB / 1.097 GB, free: 7.867 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches