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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.005127/0.005127, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001112/0.001112, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.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.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.69 kB / 0.9504 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2303, allocations: 140.4 MB / 1.088 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.00182/0.2322, allocations: 0.6931 MB / 1.088 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.2331, allocations: 0.7965 MB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.2332, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.2332, allocations: 7.938 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.2333, allocations: 11.92 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.064e-05/0.2334, allocations: 11.98 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.535e-05/0.2335, allocations: 43.86 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2336, allocations: 19.97 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.2336, allocations: 19.86 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.329e-05/0.2337, allocations: 19.92 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2337, allocations: 4 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.2337, allocations: 8 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.2337, allocations: 7.984 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.2338, allocations: 15.88 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.565e-05/0.2339, allocations: 39.81 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2339, allocations: 0 / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2339, allocations: 0 / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2339, allocations: 0 / 1.089 GB, free: 188 kB / 0.8419 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.0005309/0.2344, allocations: 366.2 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2345, allocations: 12.03 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.2345, allocations: 30.75 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.2346, allocations: 8.844 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2347, allocations: 169.2 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2347, allocations: 4.375 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.2347, allocations: 4.312 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.235, allocations: 70.2 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.235, allocations: 3.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.235, allocations: 8 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.235, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.2353, allocations: 59.92 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.2357, allocations: 268.8 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.2359, allocations: 66.47 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.236, allocations: 32.92 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.2361, allocations: 3.984 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2361, allocations: 38.55 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.2361, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005357/0.2366, allocations: 125.6 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.2367, allocations: 59.28 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.2368, allocations: 109.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2368, allocations: 25.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.2368, allocations: 92.12 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.2369, allocations: 11.81 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.2369, allocations: 13.72 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.237, allocations: 314.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.2371, allocations: 31.95 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2373, allocations: 31.97 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.2376, allocations: 76.72 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2376, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003222/0.2379, allocations: 93.56 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2379, allocations: 12 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.238, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.238, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2381, allocations: 19.97 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2381, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.2382, allocations: 7.984 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2382, allocations: 4 kB / 1.091 GB, free: 13.82 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 7.341e-05/0.2383, allocations: 121.7 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.2383, allocations: 11.91 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.2384, allocations: 3.906 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2384, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.2384, allocations: 3.984 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2384, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.2386, allocations: 169.6 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2386, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.815e-05/0.2387, allocations: 15.98 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2387, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2387, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2387, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2387, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.2391, allocations: 203.3 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.2391, allocations: 81.02 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2391, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.2393, allocations: 19.98 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.2393, allocations: 11.92 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.2393, allocations: 4 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.2394, allocations: 83.58 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2394, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002264/0.2396, allocations: 12 kB / 1.092 GB, free: 12.99 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.0006259/0.2402, allocations: 0.7322 MB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.2406, allocations: 71.95 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2406, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.2407, allocations: 35.95 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.241, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.2415, allocations: 163.2 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2417, allocations: 0.6884 MB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.2417, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.2418, allocations: 11.44 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.2418, allocations: 4 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.2584, allocations: 1.631 MB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/7.591, allocations: 4.062 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.csv","/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