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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001327/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001414/0.001414, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.109/2.109, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.91 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5509/0.5521, allocations: 140.4 MB / 0.9491 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.001825/0.554, allocations: 0.7657 MB / 0.9498 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006753/0.5547, allocations: 0.8015 MB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.5547, allocations: 0 / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.5548, allocations: 0 / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.5548, allocations: 5.312 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.508e-05/0.5549, allocations: 13.36 kB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.704e-05/0.555, allocations: 40.42 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.255e-05/0.555, allocations: 9.484 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.5551, allocations: 17.38 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.5551, allocations: 25.41 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.5552, allocations: 2.75 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.5552, allocations: 1.375 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.5552, allocations: 5.312 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.5552, allocations: 20.03 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.936e-05/0.5553, allocations: 38.75 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5553, allocations: 0 / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.01e-07/0.5553, allocations: 3.938 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.5553, allocations: 0 / 0.9508 GB, free: 7.738 MB / 0.7169 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.0003911/0.5557, allocations: 374.2 kB / 0.9511 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.5558, allocations: 9.625 kB / 0.9511 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.35e-05/0.5558, allocations: 30.75 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.5558, allocations: 3.688 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.042e-05/0.5559, allocations: 171 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.5559, allocations: 1.75 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.5559, allocations: 1.75 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.5561, allocations: 74.77 kB / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.5562, allocations: 7.875 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.5562, allocations: 1.375 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.5562, allocations: 0 / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.5565, allocations: 64 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.5567, allocations: 267.4 kB / 0.9517 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.5569, allocations: 60.42 kB / 0.9518 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.5571, allocations: 43.64 kB / 0.9518 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.5571, allocations: 0 / 0.9518 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.5571, allocations: 35.98 kB / 0.9519 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.5571, allocations: 0 / 0.9519 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004685/0.5576, allocations: 129.1 kB / 0.952 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.679e-05/0.5576, allocations: 52.66 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.5577, allocations: 111.9 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.5577, allocations: 25.7 kB / 0.9522 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.5577, allocations: 81.48 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.5577, allocations: 22.06 kB / 0.9523 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.5578, allocations: 16.78 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.728e-05/0.5578, allocations: 314.8 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.5579, allocations: 37.77 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.5581, allocations: 29.22 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.5583, allocations: 75.16 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5583, allocations: 0 / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002971/0.5586, allocations: 97.56 kB / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.5586, allocations: 5.031 kB / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5587, allocations: 1.094 kB / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.5587, allocations: 0 / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.5588, allocations: 21.81 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.5588, allocations: 5.344 kB / 0.9529 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.5589, allocations: 10.23 kB / 0.9529 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.5589, allocations: 1.188 kB / 0.9529 GB, free: 5.723 MB / 0.7169 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 4.502e-05/0.5589, allocations: 116.1 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.559, allocations: 1.25 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.559, allocations: 9.406 kB / 0.953 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.559, allocations: 5.5 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.559, allocations: 0 / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.559, allocations: 0 / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.5591, allocations: 177.3 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5591, allocations: 4 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.061e-05/0.5592, allocations: 14.7 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5592, allocations: 0 / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.5592, allocations: 0.7812 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5593, allocations: 1.5 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5593, allocations: 0 / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.5596, allocations: 207.2 kB / 0.9534 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.5596, allocations: 78.48 kB / 0.9534 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.5596, allocations: 1.312 kB / 0.9535 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.5597, allocations: 10.98 kB / 0.9535 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.5597, allocations: 13.39 kB / 0.9535 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.5598, allocations: 1.375 kB / 0.9535 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.417e-05/0.5598, allocations: 81.31 kB / 0.9536 GB, free: 5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5598, allocations: 1.344 kB / 0.9536 GB, free: 5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002117/0.56, allocations: 9.594 kB / 0.9536 GB, free: 4.996 MB / 0.7169 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.0004665/0.5605, allocations: 0.7357 MB / 0.9543 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.5608, allocations: 71.2 kB / 0.9543 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5608, allocations: 0 / 0.9543 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.5609, allocations: 40.58 kB / 0.9544 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.5612, allocations: 5.391 kB / 0.9544 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.5616, allocations: 161.7 kB / 0.9545 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.479e-05/0.5617, allocations: 0.6836 MB / 0.9552 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.5617, allocations: 1.031 kB / 0.9552 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.5617, allocations: 12.59 kB / 0.9552 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.5617, allocations: 0 / 0.9552 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.5812, allocations: 1.37 MB / 0.9566 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001266/0.5814, allocations: 206.4 kB / 0.9568 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.212, allocations: 3.938 kB / 0.9568 GB, free: 2.398 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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