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.0013/0.0013, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 196.8 kB / 16.53 MB, free: 6.391 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.226/2.226, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5102, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.001486/0.5117, allocations: 0.6944 MB / 0.9504 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005473/0.5123, allocations: 0.8011 MB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.5123, allocations: 1.25 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.5124, allocations: 3.938 kB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.5124, allocations: 5.375 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.647e-05/0.5125, allocations: 13.41 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.739e-05/0.5125, allocations: 41.39 kB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.5126, allocations: 7.812 kB / 0.9513 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.5127, allocations: 27.08 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/0.5127, allocations: 20.12 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.5127, allocations: 3.844 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.5128, allocations: 4.125 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.5128, allocations: 11.92 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.5128, allocations: 19.73 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.867e-05/0.5129, allocations: 35.62 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.5129, allocations: 0 / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5129, allocations: 4 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.5129, allocations: 1.281 kB / 0.9514 GB, free: 7.816 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.0003752/0.5133, allocations: 364.8 kB / 0.9517 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.5133, allocations: 10.34 kB / 0.9518 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.248e-05/0.5133, allocations: 38.73 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.944e-05/0.5134, allocations: 3.75 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.987e-05/0.5134, allocations: 166.9 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.5134, allocations: 5.75 kB / 0.952 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.5135, allocations: 1.594 kB / 0.952 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.5137, allocations: 71.31 kB / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.5137, allocations: 7.875 kB / 0.952 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.5137, allocations: 1.5 kB / 0.952 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.5137, allocations: 0 / 0.952 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.514, allocations: 70.89 kB / 0.9521 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.5142, allocations: 267.2 kB / 0.9524 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.5144, allocations: 57.44 kB / 0.9524 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.5145, allocations: 42.64 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.5145, allocations: 1.156 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.5146, allocations: 39.53 kB / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5146, allocations: 0 / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004779/0.515, allocations: 133.6 kB / 0.9526 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.5151, allocations: 52.72 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.729e-05/0.5151, allocations: 110.7 kB / 0.9528 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.443e-06/0.5151, allocations: 27.02 kB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.09e-05/0.5152, allocations: 93.41 kB / 0.9529 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.5152, allocations: 9.125 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.5152, allocations: 20.42 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.248e-05/0.5152, allocations: 316.2 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.5154, allocations: 29.5 kB / 0.9533 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.5155, allocations: 34.42 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.5158, allocations: 78.83 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5158, allocations: 0 / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002806/0.5161, allocations: 96.66 kB / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.5161, allocations: 5.281 kB / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.5161, allocations: 0 / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.5161, allocations: 1.344 kB / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.5162, allocations: 17.83 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.5162, allocations: 5.438 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.5163, allocations: 18.88 kB / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.5163, allocations: 0 / 0.9535 GB, free: 5.785 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 3.859e-05/0.5163, allocations: 112 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.5164, allocations: 2.781 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.613e-05/0.5164, allocations: 7.906 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.5164, allocations: 1.469 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.5164, allocations: 0 / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5164, allocations: 4 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.5165, allocations: 178 kB / 0.9538 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5165, allocations: 0 / 0.9538 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.492e-05/0.5166, allocations: 15.2 kB / 0.9538 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.5166, allocations: 0 / 0.9538 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.5166, allocations: 0 / 0.9538 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5166, allocations: 1.438 kB / 0.9538 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5166, allocations: 0 / 0.9538 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.5169, allocations: 207.4 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.517, allocations: 78.27 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.517, allocations: 5.219 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.5171, allocations: 10.7 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.5171, allocations: 1.531 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.5171, allocations: 5.141 kB / 0.9541 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.171e-05/0.5171, allocations: 89.59 kB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5171, allocations: 0 / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002041/0.5174, allocations: 6.094 kB / 0.9542 GB, free: 5.066 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.0004423/0.5178, allocations: 0.7322 MB / 0.9549 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.5181, allocations: 71.42 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.5181, allocations: 0 / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.5183, allocations: 39.91 kB / 0.955 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.5185, allocations: 12.52 kB / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.5188, allocations: 154.4 kB / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.814e-05/0.5189, allocations: 0.6842 MB / 0.9558 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.519, allocations: 5.188 kB / 0.9558 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.519, allocations: 12.47 kB / 0.9559 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.519, allocations: 4.969 kB / 0.9559 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5455/1.065, allocations: 1.592 MB / 0.9574 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.6, allocations: 5.391 kB / 0.9574 GB, free: 2.547 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