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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.006335/0.006335, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001752/0.001752, allocations: 193.8 kB / 16.67 MB, free: 5.934 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.521/2.521, allocations: 482.6 MB / 0.755 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 74.53 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2643, allocations: 162.3 MB / 1.242 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.0017/0.266, allocations: 0.7087 MB / 1.243 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008026/0.2668, allocations: 0.8004 MB / 1.243 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.2669, allocations: 4 kB / 1.243 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.2669, allocations: 7.938 kB / 1.243 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.267, allocations: 3.938 kB / 1.243 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.931e-05/0.267, allocations: 11.98 kB / 1.243 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.66e-05/0.2671, allocations: 47.84 kB / 1.243 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.2672, allocations: 8 kB / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.702e-05/0.2673, allocations: 15.92 kB / 1.243 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.2673, allocations: 23.92 kB / 1.244 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.2673, allocations: 0 / 1.244 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.2673, allocations: 8 kB / 1.244 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.2674, allocations: 15.92 kB / 1.244 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.2674, allocations: 15.92 kB / 1.244 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.142e-05/0.2675, allocations: 40.08 kB / 1.244 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2675, allocations: 4 kB / 1.244 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2675, allocations: 0 / 1.244 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2675, allocations: 3.938 kB / 1.244 GB, free: 7.227 MB / 0.9669 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.0004841/0.268, allocations: 367.3 kB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.268, allocations: 8.031 kB / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.2681, allocations: 30.75 kB / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.2681, allocations: 8.875 kB / 1.244 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2682, allocations: 172.3 kB / 1.244 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.2682, allocations: 8.312 kB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.2683, allocations: 384 / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.2685, allocations: 74.22 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2685, allocations: 3.938 kB / 1.244 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.2685, allocations: 4 kB / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.2685, allocations: 0 / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.2688, allocations: 63.92 kB / 1.244 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.2691, allocations: 264.8 kB / 1.245 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.2693, allocations: 62.48 kB / 1.245 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.2695, allocations: 36.91 kB / 1.245 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2695, allocations: 4 kB / 1.245 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.2695, allocations: 30.56 kB / 1.245 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 2.765e-06/0.2695, allocations: 3.984 kB / 1.245 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005007/0.27, allocations: 137.5 kB / 1.245 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.2701, allocations: 55.34 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.2702, allocations: 109.8 kB / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2702, allocations: 25.7 kB / 1.245 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.2702, allocations: 92.12 kB / 1.245 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.2703, allocations: 7.906 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.2703, allocations: 13.72 kB / 1.245 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2704, allocations: 318.8 kB / 1.245 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.2706, allocations: 31.97 kB / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.2707, allocations: 31.95 kB / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.271, allocations: 72.73 kB / 1.246 GB, free: 5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.271, allocations: 0 / 1.246 GB, free: 5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003102/0.2713, allocations: 101.5 kB / 1.246 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.2713, allocations: 8 kB / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.2713, allocations: 0 / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.2713, allocations: 0 / 1.246 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.2714, allocations: 15.98 kB / 1.246 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2714, allocations: 0 / 1.246 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.2715, allocations: 11.98 kB / 1.246 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.2715, allocations: 0 / 1.246 GB, free: 4.859 MB / 0.9669 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 7.551e-05/0.2716, allocations: 121.8 kB / 1.246 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.2716, allocations: 11.89 kB / 1.246 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.2717, allocations: 7.906 kB / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2717, allocations: 3.938 kB / 1.246 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2717, allocations: 4 kB / 1.246 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.2717, allocations: 0 / 1.246 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.2719, allocations: 165.6 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2719, allocations: 0 / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.272, allocations: 15.97 kB / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.272, allocations: 0 / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.272, allocations: 4 kB / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.272, allocations: 8 kB / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.272, allocations: 4 kB / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.2723, allocations: 191.4 kB / 1.246 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.2724, allocations: 81.06 kB / 1.246 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.2724, allocations: 3.984 kB / 1.246 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2725, allocations: 19.98 kB / 1.246 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.2726, allocations: 4 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.2726, allocations: 0 / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.2726, allocations: 87.27 kB / 1.246 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2726, allocations: 0 / 1.246 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002016/0.2728, allocations: 11.94 kB / 1.246 GB, free: 4.031 MB / 0.9669 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.0006473/0.2735, allocations: 0.7327 MB / 1.247 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.2738, allocations: 75.95 kB / 1.247 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.2738, allocations: 0 / 1.247 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.274, allocations: 31.97 kB / 1.247 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.2742, allocations: 14.02 kB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.2746, allocations: 155 kB / 1.247 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.2749, allocations: 0.6846 MB / 1.248 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.2749, allocations: 3.984 kB / 1.248 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.2749, allocations: 11.44 kB / 1.248 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.2749, allocations: 0 / 1.248 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.34/1.615, allocations: 1.621 MB / 1.25 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/12.42, allocations: 7.828 kB / 1.25 GB, free: 0.707 MB / 0.9669 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=400 --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