Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.4/2.4, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 194.3 kB / 0.4902 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.705/1.705, allocations: 223.2 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008549/0.0008553, allocations: 85.84 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003705, allocations: 13.69 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2938, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.4834, allocations: 149.9 MB / 1.376 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4837, allocations: 75.89 kB / 1.376 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004507/0.4882, allocations: 1.609 MB / 1.377 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4882, allocations: 224 / 1.377 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.379e-05/0.4883, allocations: 11.98 kB / 1.377 GB, free: 1.863 MB / 0.8698 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.0005891/0.4889, allocations: 430.8 kB / 1.378 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4889, allocations: 12.03 kB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.489, allocations: 11.91 kB / 1.378 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.4892, allocations: 213.6 kB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4893, allocations: 12 kB / 1.378 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.4893, allocations: 12 kB / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.4896, allocations: 154.4 kB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.4897, allocations: 4 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.4897, allocations: 7.938 kB / 1.378 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4897, allocations: 4 kB / 1.378 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.49, allocations: 135.9 kB / 1.378 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.491, allocations: 0.5194 MB / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.4912, allocations: 94.53 kB / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.4912, allocations: 3.984 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.4913, allocations: 38.69 kB / 1.379 GB, free: 76 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.4913, allocations: 0 / 1.379 GB, free: 76 kB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0005466/0.4918, allocations: 173.5 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.4919, allocations: 55.41 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.492, allocations: 174.6 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4921, allocations: 29.7 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.4921, allocations: 115.9 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.4922, allocations: 35.45 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.4922, allocations: 4 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4923, allocations: 326.8 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.4925, allocations: 47.97 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.4926, allocations: 47.97 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.4927, allocations: 43.98 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4927, allocations: 0 / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003131/0.4931, allocations: 161.5 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4931, allocations: 4 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4931, allocations: 0 / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4931, allocations: 0 / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.4933, allocations: 31.98 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4933, allocations: 3.938 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.4934, allocations: 27.73 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.4934, allocations: 4 kB / 1.38 GB, free: 14.76 MB / 0.8855 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 9.759e-05/0.4935, allocations: 121.8 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.4936, allocations: 11.91 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.494, allocations: 155.3 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.494, allocations: 0 / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.494, allocations: 0 / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.494, allocations: 3.984 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.4946, allocations: 472.7 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4946, allocations: 0 / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.4947, allocations: 23.98 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4947, allocations: 3.984 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.4947, allocations: 4 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4947, allocations: 0 / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4948, allocations: 3.938 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.4951, allocations: 295 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.4952, allocations: 96.88 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.4952, allocations: 8 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.4954, allocations: 19.97 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.4955, allocations: 12 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.4955, allocations: 4 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001073/0.4956, allocations: 140.1 kB / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4956, allocations: 0 / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002382/0.4958, allocations: 24 kB / 1.381 GB, free: 13.25 MB / 0.8855 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.000199/0.496, allocations: 99.25 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.4964, allocations: 114.1 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4964, allocations: 0 / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.4966, allocations: 55.91 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.4969, allocations: 16.33 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.4975, allocations: 282.1 kB / 1.382 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.4979, allocations: 0.7204 MB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.633e-05/0.4979, allocations: 13.08 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.498, allocations: 19.44 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of SimCode: time 3.2e-07/0.498, allocations: 0 / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of Templates: time 0.003558/0.5016, allocations: 0.9796 MB / 1.384 GB, free: 10.89 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches