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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001407/0.001407, allocations: 177.1 kB / 498.1 MB, free: 5.809 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.64/1.64, allocations: 223.2 MB / 0.7948 GB, free: 18.01 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.0009668/0.0009669, allocations: 98.47 kB / 0.9346 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004693, allocations: 13.84 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3191, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.5198, allocations: 149.1 MB / 1.368 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5201, allocations: 67.95 kB / 1.369 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004424/0.5245, allocations: 1.626 MB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5246, allocations: 0 / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.5246, allocations: 0 / 1.37 GB, free: 11.34 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.0006375/0.5252, allocations: 442.8 kB / 1.371 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5253, allocations: 8.031 kB / 1.371 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.5254, allocations: 15.81 kB / 1.371 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.5256, allocations: 206.8 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.5257, allocations: 12 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.5257, allocations: 12 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.5261, allocations: 153.6 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5261, allocations: 0 / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.5261, allocations: 4 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.5262, allocations: 4 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.5265, allocations: 135.9 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009563/0.5274, allocations: 0.5234 MB / 1.372 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.5277, allocations: 86.53 kB / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.5277, allocations: 11.98 kB / 1.372 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.5277, allocations: 34.56 kB / 1.372 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.5278, allocations: 0 / 1.372 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0005058/0.5283, allocations: 181.5 kB / 1.372 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.5283, allocations: 51.41 kB / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.5285, allocations: 178.6 kB / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.5285, allocations: 25.7 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.5286, allocations: 108 kB / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.5287, allocations: 35.45 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.5287, allocations: 8.656 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5288, allocations: 326.8 kB / 1.373 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.529, allocations: 47.97 kB / 1.373 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.5291, allocations: 47.97 kB / 1.373 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.5292, allocations: 47.98 kB / 1.373 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5292, allocations: 0 / 1.373 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003246/0.5296, allocations: 157.4 kB / 1.373 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5296, allocations: 8 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5296, allocations: 0 / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5296, allocations: 0 / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.5298, allocations: 35.92 kB / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5298, allocations: 4 kB / 1.373 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.5299, allocations: 27.77 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.5299, allocations: 4 kB / 1.373 GB, free: 8.223 MB / 0.8698 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.0001414/0.5301, allocations: 121.8 kB / 1.373 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.5302, allocations: 15.81 kB / 1.373 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.5305, allocations: 151 kB / 1.373 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5305, allocations: 0 / 1.373 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5306, allocations: 0 / 1.373 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5306, allocations: 7.984 kB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006447/0.5312, allocations: 468.8 kB / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5312, allocations: 0 / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.5314, allocations: 28.08 kB / 1.374 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.5314, allocations: 7.984 kB / 1.374 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5314, allocations: 0 / 1.374 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5314, allocations: 480 / 1.374 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5314, allocations: 4 kB / 1.374 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.5318, allocations: 287 kB / 1.374 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.5319, allocations: 96.88 kB / 1.374 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.5319, allocations: 8 kB / 1.374 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.5321, allocations: 19.97 kB / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.5321, allocations: 15.94 kB / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.5321, allocations: 0 / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000123/0.5322, allocations: 144.1 kB / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5323, allocations: 0 / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002466/0.5325, allocations: 27.94 kB / 1.374 GB, free: 6.703 MB / 0.8698 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.0001554/0.5327, allocations: 111 kB / 1.374 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.533, allocations: 111.4 kB / 1.375 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.533, allocations: 4 kB / 1.375 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.5331, allocations: 51.91 kB / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.5334, allocations: 17.86 kB / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.5339, allocations: 276.8 kB / 1.375 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.5343, allocations: 0.7165 MB / 1.376 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.923e-05/0.5344, allocations: 13.08 kB / 1.376 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.5344, allocations: 15.44 kB / 1.376 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/0.5344, allocations: 0 / 1.376 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of Templates: time 0.003451/0.5379, allocations: 0.9942 MB / 1.377 GB, free: 4.344 MB / 0.8698 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches