Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.292/2.292, allocations: 393.5 MB / 408.5 MB, free: 10.98 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.001574/0.001574, allocations: 183.3 kB / 0.4902 GB, free: 2.254 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.495/1.495, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001338/0.001338, allocations: 103.1 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003751, allocations: 21.47 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3162, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.5191, allocations: 149.6 MB / 1.375 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.5195, allocations: 71.94 kB / 1.375 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002503/0.522, allocations: 0.802 MB / 1.376 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.434e-06/0.522, allocations: 0 / 1.376 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.522, allocations: 0 / 1.376 GB, free: 3.102 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004931/0.5225, allocations: 367.2 kB / 1.377 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.5226, allocations: 16.03 kB / 1.377 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.5227, allocations: 0 / 1.377 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.5228, allocations: 182.8 kB / 1.377 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.5228, allocations: 4 kB / 1.377 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.5229, allocations: 0 / 1.377 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.5231, allocations: 81.66 kB / 1.377 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5232, allocations: 0 / 1.377 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.5232, allocations: 0 / 1.377 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.5232, allocations: 7.984 kB / 1.377 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.5235, allocations: 83.92 kB / 1.377 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.5241, allocations: 304.8 kB / 1.377 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.5243, allocations: 63.45 kB / 1.377 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.5244, allocations: 8 kB / 1.377 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.5244, allocations: 34.56 kB / 1.377 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.5244, allocations: 0 / 1.377 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005776/0.525, allocations: 157.6 kB / 1.377 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.5251, allocations: 55.39 kB / 1.377 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.5252, allocations: 112.8 kB / 1.378 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.5252, allocations: 29.7 kB / 1.378 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.5252, allocations: 88.12 kB / 1.378 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.5253, allocations: 3.906 kB / 1.378 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.5253, allocations: 0 / 1.378 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5254, allocations: 318.8 kB / 1.378 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.5256, allocations: 43.95 kB / 1.378 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.5257, allocations: 35.97 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.5259, allocations: 47.95 kB / 1.378 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5259, allocations: 0 / 1.378 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004199/0.5263, allocations: 129.5 kB / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5263, allocations: 4 kB / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5263, allocations: 0 / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5264, allocations: 0 / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.5265, allocations: 23.98 kB / 1.378 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.5265, allocations: 3.938 kB / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.5266, allocations: 19.92 kB / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.5266, allocations: 3.953 kB / 1.378 GB, free: 0.707 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 (3): * Single equations (assignments): 3 * 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 8.649e-05/0.5267, allocations: 118.6 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.5268, allocations: 4 kB / 1.378 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.5268, allocations: 7.906 kB / 1.378 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5268, allocations: 3.938 kB / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5268, allocations: 0 / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5268, allocations: 0 / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.527, allocations: 169.6 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.527, allocations: 3.984 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.5271, allocations: 19.98 kB / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5271, allocations: 4 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.5272, allocations: 0 / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.5272, allocations: 4 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5272, allocations: 0 / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.5276, allocations: 223.3 kB / 1.379 GB, free: 88 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.5276, allocations: 85.09 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.5277, allocations: 384 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.5278, allocations: 19.98 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.5278, allocations: 3.984 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.5279, allocations: 8 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.5279, allocations: 79.28 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5279, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002084/0.5281, allocations: 12 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001981/0.5283, allocations: 95.25 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.5287, allocations: 99.84 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5287, allocations: 4 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.5289, allocations: 43.95 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.5291, allocations: 8.641 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.5295, allocations: 133 kB / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.5297, allocations: 0.6887 MB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.5298, allocations: 0 / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.5298, allocations: 7.438 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/0.5298, allocations: 0 / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of Templates: time 0.002754/0.5326, allocations: 0.528 MB / 1.381 GB, free: 14.21 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches