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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 105 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.91 kB / 0.9516 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8477, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.001847/0.8496, allocations: 0.6996 MB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.8505, allocations: 0.8019 MB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.8506, allocations: 9.125 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.8506, allocations: 3.938 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.8507, allocations: 6.047 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.856e-05/0.8508, allocations: 13.45 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.527e-05/0.8508, allocations: 43.48 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.851, allocations: 9.906 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.8511, allocations: 21.59 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.8511, allocations: 19 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.8511, allocations: 3.75 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-06/0.8511, allocations: 3.375 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.8512, allocations: 11.84 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.8512, allocations: 21.05 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.159e-05/0.8513, allocations: 40.3 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8513, allocations: 1.094 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8513, allocations: 0 / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.8513, allocations: 0 / 1.09 GB, free: 4.332 MB / 0.8575 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.0006238/0.852, allocations: 360.6 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.852, allocations: 9.844 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.8521, allocations: 11.16 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.8522, allocations: 167.3 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.8522, allocations: 4.375 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.8522, allocations: 6.422 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.8525, allocations: 72.48 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.8525, allocations: 192 / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.8526, allocations: 4.719 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.8526, allocations: 1.547 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.8529, allocations: 66.94 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.8533, allocations: 265.7 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.8536, allocations: 59.89 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.8537, allocations: 44.84 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.8538, allocations: 0 / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.8538, allocations: 36.53 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.8538, allocations: 0 / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005371/0.8543, allocations: 128.2 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.8544, allocations: 52.72 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.8544, allocations: 106.7 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.8545, allocations: 30.55 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.8545, allocations: 91.86 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.8545, allocations: 13.3 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.8545, allocations: 16.39 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.8546, allocations: 318.3 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.8548, allocations: 30.48 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.8549, allocations: 39.75 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.8552, allocations: 66.59 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8552, allocations: 7.938 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003165/0.8555, allocations: 94.62 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8555, allocations: 4.406 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8556, allocations: 1 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.8556, allocations: 0.7031 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.8557, allocations: 20 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.8557, allocations: 4 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.8558, allocations: 16.23 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.8558, allocations: 0 / 1.092 GB, free: 2.547 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.853e-05/0.8559, allocations: 113.1 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.8559, allocations: 6.094 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.856, allocations: 9.797 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.856, allocations: 1.594 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.856, allocations: 0 / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.856, allocations: 5.359 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.8561, allocations: 170.4 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8561, allocations: 0.8125 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.8562, allocations: 14.8 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8562, allocations: 0.5625 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.8562, allocations: 1.859 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8563, allocations: 0 / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8563, allocations: 9.078 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.8566, allocations: 197.5 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.8566, allocations: 86.88 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.8566, allocations: 0.7812 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.8567, allocations: 12.5 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.8568, allocations: 3.062 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.8568, allocations: 5.062 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.8568, allocations: 88.3 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8568, allocations: 0 / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002164/0.8571, allocations: 6 kB / 1.093 GB, free: 1.871 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.8572, allocations: 99.91 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.8576, allocations: 70.75 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8576, allocations: 0.6562 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.8578, allocations: 42.52 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.8581, allocations: 11.59 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.8584, allocations: 148.2 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.8585, allocations: 0.6884 MB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.8586, allocations: 10.59 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.8586, allocations: 0 / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of Templates: time 0.002492/0.8611, allocations: 0.7445 MB / 1.095 GB, free: 0.8672 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches