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.001304/0.001304, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001319/0.001319, allocations: 191.3 kB / 16.25 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.232/2.232, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 75.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5129, allocations: 140.4 MB / 0.9493 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.001627/0.5145, allocations: 0.7623 MB / 0.95 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005669/0.5151, allocations: 0.8015 MB / 0.9508 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.5152, allocations: 3.938 kB / 0.9508 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.5152, allocations: 0 / 0.9508 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.5153, allocations: 5.594 kB / 0.9508 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.064e-05/0.5153, allocations: 13.48 kB / 0.9508 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.925e-05/0.5154, allocations: 37.67 kB / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.5155, allocations: 15.98 kB / 0.9509 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.926e-05/0.5156, allocations: 18.8 kB / 0.9509 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.665e-05/0.5156, allocations: 24.03 kB / 0.9509 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.5156, allocations: 4.125 kB / 0.9509 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.5156, allocations: 4.125 kB / 0.9509 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.5157, allocations: 7.938 kB / 0.9509 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.5157, allocations: 16.05 kB / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.626e-05/0.5158, allocations: 38.75 kB / 0.951 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5158, allocations: 1.375 kB / 0.951 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5158, allocations: 7.938 kB / 0.951 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.5158, allocations: 0 / 0.951 GB, free: 7.863 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.000405/0.5162, allocations: 366.3 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.5162, allocations: 8.25 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.5163, allocations: 36.11 kB / 0.9514 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.5163, allocations: 3.688 kB / 0.9514 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.037e-05/0.5164, allocations: 175 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.5164, allocations: 8.375 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.5164, allocations: 3.125 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.5166, allocations: 66.84 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5166, allocations: 7.875 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.5166, allocations: 1.375 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.5167, allocations: 0 / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.5169, allocations: 71.61 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.5172, allocations: 262.7 kB / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.5174, allocations: 56.53 kB / 0.952 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.5175, allocations: 40.17 kB / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.5175, allocations: 0 / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.5175, allocations: 35.94 kB / 0.9521 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.5175, allocations: 3.938 kB / 0.9521 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004482/0.518, allocations: 134.4 kB / 0.9522 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.518, allocations: 51.41 kB / 0.9522 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/0.5181, allocations: 108.4 kB / 0.9523 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.5181, allocations: 25.7 kB / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.5181, allocations: 86.02 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.5181, allocations: 13.42 kB / 0.9525 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.5182, allocations: 15.34 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.84e-05/0.5182, allocations: 316.4 kB / 0.9528 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.5183, allocations: 33.58 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.5185, allocations: 29.59 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.5187, allocations: 83.67 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5187, allocations: 0 / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002608/0.519, allocations: 96.81 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.519, allocations: 7.438 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.519, allocations: 0 / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.519, allocations: 1.094 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5191, allocations: 13.64 kB / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.5191, allocations: 5.438 kB / 0.953 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.5192, allocations: 14.03 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.5192, allocations: 1.5 kB / 0.9531 GB, free: 5.852 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.333e-05/0.5193, allocations: 115.2 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.5193, allocations: 2.594 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.5193, allocations: 9.188 kB / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5193, allocations: 3.938 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5193, allocations: 1.344 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5193, allocations: 4 kB / 0.9532 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.5195, allocations: 173.5 kB / 0.9534 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5195, allocations: 4 kB / 0.9534 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.426e-05/0.5196, allocations: 21.95 kB / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.5196, allocations: 1.75 kB / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.5196, allocations: 0 / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5196, allocations: 0 / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5196, allocations: 0 / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.5199, allocations: 200.2 kB / 0.9536 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.5199, allocations: 78.64 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.5199, allocations: 1.469 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.52, allocations: 13.58 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.52, allocations: 6.297 kB / 0.9537 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.5201, allocations: 5.625 kB / 0.9537 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.335e-05/0.5201, allocations: 92.98 kB / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5201, allocations: 0 / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002006/0.5203, allocations: 6.438 kB / 0.9538 GB, free: 5.117 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.0004473/0.5207, allocations: 0.7321 MB / 0.9545 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.521, allocations: 71.86 kB / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.521, allocations: 0 / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.5212, allocations: 40.17 kB / 0.9546 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.5214, allocations: 8.125 kB / 0.9546 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.5218, allocations: 159.2 kB / 0.9547 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.231e-05/0.5219, allocations: 0.6842 MB / 0.9554 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.861e-05/0.5219, allocations: 4 kB / 0.9554 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.522, allocations: 14.12 kB / 0.9554 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.522, allocations: 0 / 0.9554 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5135/1.036, allocations: 1.411 MB / 0.9568 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/1.036, allocations: 208 kB / 0.957 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.698, allocations: 0 / 0.957 GB, free: 2.512 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