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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007717/0.0007717, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008271/0.0008271, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8583/0.8583, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.784/1.784, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.599e-06/4.599e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.454e-05/3.913e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002524/0.002563, allocations: 0.6911 MB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.003777, allocations: 0.8198 MB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.003823, allocations: 0 / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.003857, allocations: 0 / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.003933, allocations: 11.88 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 8.084e-05/0.004014, allocations: 15.98 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.004118, allocations: 51.83 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.004236, allocations: 7.938 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.004341, allocations: 23.97 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.004391, allocations: 19.92 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.004423, allocations: 4 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-06/0.00443, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.004449, allocations: 8 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.004481, allocations: 15.92 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.004596, allocations: 47.8 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.004603, allocations: 3.984 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.904e-06/0.004604, allocations: 4 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.004611, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 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.0005171/0.005128, allocations: 282.3 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.005177, allocations: 8.75 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.005219, allocations: 34.75 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.005245, allocations: 4.891 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.00535, allocations: 117.7 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.005363, allocations: 384 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.005375, allocations: 8.375 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.005595, allocations: 66.22 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.005605, allocations: 4.172 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.005617, allocations: 4.375 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.005624, allocations: 4.125 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.00583, allocations: 71.8 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.006177, allocations: 232.1 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.006302, allocations: 50.53 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.812e-05/0.00638, allocations: 40.92 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.006392, allocations: 3.938 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.006413, allocations: 30.56 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.006414, allocations: 3.938 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003118/0.006726, allocations: 137.5 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.006757, allocations: 51.41 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.762e-05/0.006824, allocations: 109.8 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.006833, allocations: 25.7 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.006872, allocations: 88.14 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.006888, allocations: 3.953 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.006916, allocations: 25.7 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.006993, allocations: 310.8 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/0.007067, allocations: 31.97 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.007134, allocations: 31.95 kB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.007273, allocations: 76.72 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.007276, allocations: 0 / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001729/0.007449, allocations: 101.5 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.007473, allocations: 7.938 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.007478, allocations: 0 / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.007491, allocations: 0 / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.007575, allocations: 15.98 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.007581, allocations: 4 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.875e-05/0.00762, allocations: 19.97 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.007625, allocations: 0 / 1.003 GB, free: 9.543 MB / 0.9636 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.033e-05/0.007686, allocations: 109.8 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.0077, allocations: 3.938 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.007724, allocations: 8 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007727, allocations: 7.938 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.007732, allocations: 0 / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.007735, allocations: 0 / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.007854, allocations: 144.6 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.007856, allocations: 0 / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.007899, allocations: 19.91 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007901, allocations: 7.938 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.007911, allocations: 4 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.007911, allocations: 0 / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007912, allocations: 0 / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.008118, allocations: 191.8 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.008128, allocations: 15.92 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.00814, allocations: 0 / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/0.00819, allocations: 11.98 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.008234, allocations: 4 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.008238, allocations: 4 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.008279, allocations: 95.2 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008279, allocations: 0 / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001547/0.008434, allocations: 11.95 kB / 1.004 GB, free: 8.84 MB / 0.9636 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.0004672/0.008901, allocations: 0.7241 MB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.009104, allocations: 67.92 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.009107, allocations: 0 / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.009182, allocations: 39.91 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.009464, allocations: 7.984 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.009854, allocations: 151.2 kB / 1.005 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.295e-05/0.009907, allocations: 71.27 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.285e-05/0.00994, allocations: 4 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.009986, allocations: 16.5 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of SimCode: time 7.92e-07/0.009987, allocations: 3.938 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.02766, allocations: 2.315 MB / 1.007 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/6.811, allocations: 8.266 kB / 1.007 GB, free: 5.488 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable div1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv. Warning: Get data of variable div1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv failed! Error: Could not read variable div1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv. Warning: Get data of variable div1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.955235005356371]