Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 185 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001005, allocations: 87.97 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004141, allocations: 12.69 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2254, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.39, allocations: 131.7 MB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.3903, allocations: 67.95 kB / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004055/0.3943, allocations: 1.631 MB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3943, allocations: 0.6562 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.3944, allocations: 4 kB / 1.03 GB, free: 10.83 MB / 0.6823 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.0005235/0.3949, allocations: 430.9 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3949, allocations: 8.031 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.395, allocations: 15.81 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.3952, allocations: 214.7 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3952, allocations: 11.94 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.3953, allocations: 12 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.3956, allocations: 149.6 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3956, allocations: 0 / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.3956, allocations: 11.94 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3957, allocations: 0 / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.396, allocations: 143.9 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.397, allocations: 0.5157 MB / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3973, allocations: 98.47 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.3973, allocations: 0 / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3973, allocations: 30.56 kB / 1.032 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.3973, allocations: 0 / 1.032 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0005217/0.3979, allocations: 177.8 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3979, allocations: 51.41 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3981, allocations: 178.7 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3982, allocations: 29.64 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.3983, allocations: 123.8 kB / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3983, allocations: 31.55 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.3983, allocations: 4 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3985, allocations: 330.8 kB / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3986, allocations: 43.97 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3987, allocations: 45.59 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.3989, allocations: 51.98 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.3989, allocations: 0 / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003352/0.3992, allocations: 157.9 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3993, allocations: 8 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3993, allocations: 4 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3993, allocations: 0 / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3995, allocations: 27.98 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3995, allocations: 0 / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3996, allocations: 27.83 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3996, allocations: 4 kB / 1.033 GB, free: 7.719 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.3998, allocations: 129.7 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.3998, allocations: 19.75 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.4002, allocations: 143 kB / 1.034 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4002, allocations: 4 kB / 1.034 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4002, allocations: 0 / 1.034 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4002, allocations: 7.984 kB / 1.034 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.4008, allocations: 464.8 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4009, allocations: 8.094 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.401, allocations: 23.92 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.401, allocations: 4 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4011, allocations: 3.984 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4011, allocations: 4 kB / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4011, allocations: 0 / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.4015, allocations: 295 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.4016, allocations: 93.06 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.4016, allocations: 3.938 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.4017, allocations: 23.97 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.4018, allocations: 11.98 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.4018, allocations: 4 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001283/0.402, allocations: 144.1 kB / 1.035 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.402, allocations: 0 / 1.035 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002307/0.4022, allocations: 24 kB / 1.035 GB, free: 6.199 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.4024, allocations: 103.2 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.4027, allocations: 111.9 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4027, allocations: 0 / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.4028, allocations: 51.91 kB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.4031, allocations: 18.62 kB / 1.035 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.4036, allocations: 291.6 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.4039, allocations: 0.7126 MB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.489e-05/0.404, allocations: 13.08 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.404, allocations: 15.44 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/0.404, allocations: 0 / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of Templates: time 0.003202/0.4072, allocations: 0.994 MB / 1.037 GB, free: 3.836 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches