Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.515/2.515, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 69.59 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2387, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001837/0.2405, allocations: 0.6964 MB / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007135/0.2413, allocations: 0.8118 MB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.2413, allocations: 0 / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.2414, allocations: 3.938 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.2414, allocations: 3.938 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.005e-05/0.2415, allocations: 11.97 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.88e-05/0.2416, allocations: 51.86 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.765e-05/0.2417, allocations: 7.984 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.2417, allocations: 23.92 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.2418, allocations: 27.78 kB / 1.055 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2418, allocations: 4 kB / 1.055 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.2418, allocations: 4 kB / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.2418, allocations: 4 kB / 1.055 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.2419, allocations: 19.92 kB / 1.055 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.652e-05/0.2419, allocations: 39.81 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2419, allocations: 4 kB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2419, allocations: 0 / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.242, allocations: 0 / 1.055 GB, free: 6.543 MB / 0.8106 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.0004263/0.2424, allocations: 355.7 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2424, allocations: 8.625 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.2425, allocations: 38.73 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.2425, allocations: 8.844 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.2426, allocations: 176.3 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.2426, allocations: 384 / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2426, allocations: 384 / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.2428, allocations: 74.16 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.2429, allocations: 3.938 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2429, allocations: 3.984 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2429, allocations: 0 / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.2432, allocations: 67.92 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.2434, allocations: 268.8 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.2436, allocations: 58.47 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.2438, allocations: 44.92 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.2438, allocations: 0 / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2438, allocations: 30.56 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2438, allocations: 0 / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004856/0.2443, allocations: 129.6 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.2444, allocations: 51.41 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.2444, allocations: 113.8 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.2444, allocations: 25.7 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.2445, allocations: 84.14 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2445, allocations: 11.81 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.2445, allocations: 21.64 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.2446, allocations: 318.8 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.2448, allocations: 27.97 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.2449, allocations: 31.95 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.2452, allocations: 76.72 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2452, allocations: 4 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002932/0.2455, allocations: 97.56 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2455, allocations: 4 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2455, allocations: 0 / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2455, allocations: 3.938 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.2456, allocations: 23.92 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2456, allocations: 0 / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.2457, allocations: 19.97 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2457, allocations: 0 / 1.057 GB, free: 4.168 MB / 0.8106 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 6.932e-05/0.2458, allocations: 113.8 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2458, allocations: 3.906 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.2459, allocations: 7.906 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2459, allocations: 4 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2459, allocations: 4 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2459, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.246, allocations: 173.6 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.246, allocations: 0 / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.2461, allocations: 11.98 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2461, allocations: 4 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.2462, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2462, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2462, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.2465, allocations: 207.7 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.2465, allocations: 84.95 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2466, allocations: 4 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.2467, allocations: 7.984 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.2467, allocations: 8 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.2467, allocations: 3.984 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.2467, allocations: 87.28 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.2468, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002043/0.247, allocations: 4 kB / 1.057 GB, free: 3.355 MB / 0.8106 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.0005698/0.2475, allocations: 0.728 MB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.2479, allocations: 71.86 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2479, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.248, allocations: 43.95 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2483, allocations: 5.25 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.2487, allocations: 167 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.2489, allocations: 0.6807 MB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.2489, allocations: 4 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.249, allocations: 15.44 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.249, allocations: 3.938 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.304/2.553, allocations: 1.592 MB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/15.08, allocations: 7.578 kB / 1.061 GB, free: 36 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches