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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008928/0.0008928, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005158/0.005158, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.266/1.266, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.484/2.484, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002959, allocations: 16.59 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2297, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.0007233/0.2304, allocations: 440.4 kB / 1.059 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006932/0.2311, allocations: 0.8079 MB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.2311, allocations: 0 / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.2312, allocations: 3.938 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.917e-05/0.2312, allocations: 3.938 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.565e-05/0.2313, allocations: 11.98 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.293e-05/0.2314, allocations: 51.84 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.761e-05/0.2314, allocations: 4 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.2315, allocations: 11.98 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.2315, allocations: 19.86 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2316, allocations: 4 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-06/0.2316, allocations: 0 / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.2316, allocations: 11.98 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.2316, allocations: 37.62 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.014e-05/0.2317, allocations: 39.8 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2317, allocations: 4 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2317, allocations: 0 / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.2317, allocations: 0 / 1.06 GB, free: 3.395 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.0004106/0.2321, allocations: 363.7 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2322, allocations: 23.91 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.2322, allocations: 30.75 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.721e-05/0.2322, allocations: 0.9375 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.314e-05/0.2323, allocations: 176.2 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.2323, allocations: 384 / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.2324, allocations: 4.375 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.2326, allocations: 78.22 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2326, allocations: 3.938 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2326, allocations: 4 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.2326, allocations: 0 / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.2329, allocations: 87.86 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.2332, allocations: 268.9 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.2334, allocations: 66.55 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.2336, allocations: 52.91 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.2336, allocations: 0 / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.2336, allocations: 30.56 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.2336, allocations: 4 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005222/0.2341, allocations: 173.4 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.2342, allocations: 51.41 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.2343, allocations: 109.8 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.2343, allocations: 29.7 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.2343, allocations: 80.14 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.2343, allocations: 11.89 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.2344, allocations: 13.72 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.2344, allocations: 314.8 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.2346, allocations: 43.97 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.2348, allocations: 48.14 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.235, allocations: 96.75 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.235, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003197/0.2354, allocations: 125.5 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2354, allocations: 7.984 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2354, allocations: 0 / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.2354, allocations: 0 / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.2355, allocations: 23.98 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.2355, allocations: 0 / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.2356, allocations: 23.98 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2356, allocations: 0 / 1.062 GB, free: 0.8594 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 5.849e-05/0.2357, allocations: 113.8 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.2357, allocations: 4 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.2357, allocations: 11.89 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2358, allocations: 0 / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2358, allocations: 4 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.2358, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.2359, allocations: 169.6 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2359, allocations: 3.938 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.6e-05/0.236, allocations: 23.97 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.236, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.236, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.236, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.236, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.2364, allocations: 223.3 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.2364, allocations: 85.05 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.2365, allocations: 0 / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2366, allocations: 19.97 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.2366, allocations: 0 / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2366, allocations: 4 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.2366, allocations: 91.27 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2367, allocations: 0 / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001992/0.2369, allocations: 8 kB / 1.063 GB, free: 16 kB / 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.0005967/0.2375, allocations: 0.759 MB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.2378, allocations: 87.92 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2378, allocations: 4 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.238, allocations: 51.91 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.2383, allocations: 7.906 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.2386, allocations: 174.1 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.2388, allocations: 0.6809 MB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.487e-05/0.2388, allocations: 0 / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.2389, allocations: 11.44 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.2389, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.218/1.457, allocations: 1.304 MB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/1.457, allocations: 208.3 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/3.356, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8262 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