Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001446/0.001446, allocations: 177.2 kB / 498.1 MB, free: 5.738 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.2 MB / 0.7948 GB, free: 18.88 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.000947/0.0009472, allocations: 104.1 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004834, allocations: 13.02 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3175, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/0.5208, allocations: 148.8 MB / 1.368 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5212, allocations: 67.97 kB / 1.368 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002469/0.5237, allocations: 0.8058 MB / 1.369 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5237, allocations: 4 kB / 1.369 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.5237, allocations: 0 / 1.369 GB, free: 3.699 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.0005466/0.5243, allocations: 367.2 kB / 1.369 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.5243, allocations: 8.031 kB / 1.369 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.5244, allocations: 15.84 kB / 1.369 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.5246, allocations: 163 kB / 1.37 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.5246, allocations: 4 kB / 1.37 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.5246, allocations: 0 / 1.37 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.5249, allocations: 77.66 kB / 1.37 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5249, allocations: 4 kB / 1.37 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.525, allocations: 3.984 kB / 1.37 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.525, allocations: 0 / 1.37 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.5253, allocations: 87.92 kB / 1.37 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.526, allocations: 312.8 kB / 1.37 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.5262, allocations: 68.45 kB / 1.37 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.5263, allocations: 3.938 kB / 1.37 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.5263, allocations: 38.56 kB / 1.37 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 2.364e-06/0.5263, allocations: 0 / 1.37 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005957/0.5269, allocations: 165.5 kB / 1.37 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.527, allocations: 51.41 kB / 1.37 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.5271, allocations: 104.9 kB / 1.37 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5271, allocations: 29.7 kB / 1.37 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.5272, allocations: 92.08 kB / 1.371 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.5272, allocations: 3.906 kB / 1.371 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.5272, allocations: 0 / 1.371 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5274, allocations: 318.8 kB / 1.371 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.5275, allocations: 43.97 kB / 1.371 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.5277, allocations: 43.95 kB / 1.371 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.5278, allocations: 43.97 kB / 1.371 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5278, allocations: 0 / 1.371 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003484/0.5282, allocations: 125.5 kB / 1.371 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5282, allocations: 4.938 kB / 1.371 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.5282, allocations: 0 / 1.371 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.5283, allocations: 0 / 1.371 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.5284, allocations: 27.97 kB / 1.371 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.261e-05/0.5285, allocations: 0 / 1.371 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.602e-05/0.5286, allocations: 15.98 kB / 1.371 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.5286, allocations: 3.953 kB / 1.371 GB, free: 1.309 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 0.0001051/0.5287, allocations: 113.8 kB / 1.371 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.5287, allocations: 0 / 1.371 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.5288, allocations: 7.906 kB / 1.371 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5288, allocations: 8 kB / 1.371 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.5288, allocations: 0 / 1.371 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.5288, allocations: 3.984 kB / 1.371 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.529, allocations: 173.5 kB / 1.371 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.529, allocations: 0 / 1.371 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.5291, allocations: 23.98 kB / 1.372 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5292, allocations: 0 / 1.372 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.5292, allocations: 0 / 1.372 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5292, allocations: 4 kB / 1.372 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5292, allocations: 3.938 kB / 1.372 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.5296, allocations: 219.4 kB / 1.372 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.5297, allocations: 77.11 kB / 1.372 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.5297, allocations: 8 kB / 1.372 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.5298, allocations: 15.98 kB / 1.372 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.5299, allocations: 8.359 kB / 1.372 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.5299, allocations: 0 / 1.372 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.53, allocations: 95.2 kB / 1.372 GB, free: 472 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.53, allocations: 0 / 1.372 GB, free: 472 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002036/0.5302, allocations: 4 kB / 1.372 GB, free: 468 kB / 0.8698 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.0001882/0.5304, allocations: 103 kB / 1.372 GB, free: 352 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.5308, allocations: 99.84 kB / 1.372 GB, free: 252 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5308, allocations: 0 / 1.372 GB, free: 252 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.5309, allocations: 43.97 kB / 1.372 GB, free: 208 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.5312, allocations: 15.94 kB / 1.372 GB, free: 192 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.5316, allocations: 136.5 kB / 1.372 GB, free: 28 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.532, allocations: 0.6848 MB / 1.373 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.224e-05/0.5321, allocations: 3.984 kB / 1.373 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.5321, allocations: 7.438 kB / 1.373 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of SimCode: time 2.8e-07/0.5321, allocations: 0 / 1.373 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.00318/0.5353, allocations: 0.5241 MB / 1.373 GB, free: 14.79 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches