Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008594/0.0008594, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000876/0.000876, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8736/0.8736, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.665/1.665, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.373e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001822/0.001845, allocations: 0.7066 MB / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.002916, allocations: 0.816 MB / 0.9521 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.002966, allocations: 0 / 0.9521 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.003, allocations: 3.938 kB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.453e-05/0.003085, allocations: 7.875 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 8.085e-05/0.003165, allocations: 15.98 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.687e-05/0.003262, allocations: 47.83 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.003376, allocations: 8 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.69e-05/0.003463, allocations: 23.97 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.003503, allocations: 19.92 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.003527, allocations: 4 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-06/0.003534, allocations: 4 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.003552, allocations: 7.984 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.003577, allocations: 8 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.656e-05/0.003673, allocations: 51.78 kB / 0.9522 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003676, allocations: 0 / 0.9522 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.533e-06/0.003678, allocations: 0 / 0.9522 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003682, allocations: 0 / 0.9522 GB, free: 1.676 MB / 0.9011 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.0004218/0.004104, allocations: 294.2 kB / 0.9525 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.004147, allocations: 8.031 kB / 0.9525 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.004178, allocations: 30.75 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.004202, allocations: 12.83 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.004281, allocations: 109.8 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.00429, allocations: 384 / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.004298, allocations: 384 / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.00446, allocations: 74.16 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004467, allocations: 192 / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.004475, allocations: 4.375 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.004481, allocations: 8.109 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.004617, allocations: 63.92 kB / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.004922, allocations: 239.9 kB / 0.9531 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.005042, allocations: 50.53 kB / 0.9531 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.304e-05/0.005115, allocations: 36.92 kB / 0.9531 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.005128, allocations: 7.938 kB / 0.9531 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.005149, allocations: 34.56 kB / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.00515, allocations: 0 / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002969/0.005447, allocations: 137.5 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.005474, allocations: 51.41 kB / 0.9534 GB, free: 392 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.005534, allocations: 109.8 kB / 0.9535 GB, free: 272 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.005544, allocations: 25.7 kB / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.005576, allocations: 84.14 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.005593, allocations: 15.89 kB / 0.9536 GB, free: 136 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.005619, allocations: 13.72 kB / 0.9536 GB, free: 116 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.005699, allocations: 314.8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.00577, allocations: 31.95 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.005834, allocations: 39.97 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.005991, allocations: 64.78 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005994, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001658/0.006159, allocations: 105.5 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.006173, allocations: 8 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.006179, allocations: 0 / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.00619, allocations: 0 / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.006267, allocations: 11.98 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.006274, allocations: 4 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.006311, allocations: 11.97 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.006317, allocations: 0 / 0.9542 GB, free: 15.52 MB / 0.9167 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.906e-05/0.006376, allocations: 117.8 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.006393, allocations: 11.89 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.006417, allocations: 8 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.00642, allocations: 0 / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.006424, allocations: 0 / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006427, allocations: 0 / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.006539, allocations: 132.7 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.006541, allocations: 3.984 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.006583, allocations: 19.92 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.006585, allocations: 3.938 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.006593, allocations: 4 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.006594, allocations: 3.938 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006595, allocations: 0 / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.006796, allocations: 195.8 kB / 0.9546 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.006808, allocations: 11.95 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.006819, allocations: 4 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.006875, allocations: 15.92 kB / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.006917, allocations: 8 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.006921, allocations: 3.984 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.006957, allocations: 83.58 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006957, allocations: 4 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001479/0.007104, allocations: 11.94 kB / 0.9548 GB, free: 14.81 MB / 0.9167 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.0003966/0.007501, allocations: 0.7344 MB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.007692, allocations: 67.92 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.007694, allocations: 0 / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.007767, allocations: 35.91 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.008022, allocations: 18.02 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.008369, allocations: 150.4 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.395e-05/0.008413, allocations: 67.28 kB / 0.9558 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.008438, allocations: 0 / 0.9558 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.00848, allocations: 16.5 kB / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.00848, allocations: 0 / 0.9558 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.02346, allocations: 2.32 MB / 0.9581 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/6.856, allocations: 3.984 kB / 0.9581 GB, free: 11.46 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Divide.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.72348899859935]