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.0008578/0.0008578, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005069/0.005069, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.091/2.091, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002847, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4937, allocations: 142.4 MB / 0.9552 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.0006271/0.4944, allocations: 437 kB / 0.9556 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000531/0.4949, allocations: 0.8006 MB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.495, allocations: 0 / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.495, allocations: 0.9375 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.249e-05/0.495, allocations: 8.828 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.22e-05/0.4951, allocations: 17.02 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.569e-05/0.4951, allocations: 37.61 kB / 0.9564 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.4952, allocations: 12.8 kB / 0.9565 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.462e-05/0.4953, allocations: 12.12 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.4953, allocations: 21.34 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.4953, allocations: 2.375 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-06/0.4954, allocations: 1.125 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.4954, allocations: 5 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.4954, allocations: 44.84 kB / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.166e-05/0.4955, allocations: 38.83 kB / 0.9566 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4955, allocations: 1 kB / 0.9566 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4955, allocations: 0 / 0.9566 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.554e-06/0.4955, allocations: 4 kB / 0.9566 GB, free: 6.504 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.0003392/0.4958, allocations: 365.6 kB / 0.9569 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.4959, allocations: 9.469 kB / 0.9569 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.087e-05/0.4959, allocations: 38.75 kB / 0.957 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.735e-05/0.4959, allocations: 7.688 kB / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.505e-05/0.496, allocations: 170.9 kB / 0.9571 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.496, allocations: 1.719 kB / 0.9572 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.496, allocations: 1.688 kB / 0.9572 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.4962, allocations: 84.64 kB / 0.9572 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.4962, allocations: 9.156 kB / 0.9572 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.4962, allocations: 0 / 0.9572 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.4962, allocations: 1.312 kB / 0.9572 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.4965, allocations: 90.58 kB / 0.9573 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.4967, allocations: 263.8 kB / 0.9576 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.4969, allocations: 68.81 kB / 0.9576 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.4971, allocations: 45.77 kB / 0.9577 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.4971, allocations: 4 kB / 0.9577 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.175e-05/0.4971, allocations: 39.48 kB / 0.9577 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4971, allocations: 0.875 kB / 0.9577 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004752/0.4976, allocations: 158.3 kB / 0.9579 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.451e-05/0.4976, allocations: 52.69 kB / 0.9579 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.281e-05/0.4977, allocations: 111.8 kB / 0.958 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.4977, allocations: 25.7 kB / 0.9581 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.4977, allocations: 93.59 kB / 0.9582 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.4977, allocations: 13.34 kB / 0.9582 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.4977, allocations: 11.38 kB / 0.9582 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.091e-05/0.4978, allocations: 312.3 kB / 0.9585 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.4979, allocations: 46.8 kB / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.4981, allocations: 38.53 kB / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.4983, allocations: 98.53 kB / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4983, allocations: 9.656 kB / 0.9587 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002828/0.4986, allocations: 116.3 kB / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.4986, allocations: 6.719 kB / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.4986, allocations: 0 / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.4986, allocations: 0 / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.4988, allocations: 24 kB / 0.9588 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.4988, allocations: 0 / 0.9588 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.4988, allocations: 28.27 kB / 0.9588 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.4989, allocations: 0 / 0.9588 GB, free: 4.477 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.803e-05/0.4989, allocations: 116.5 kB / 0.9589 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.4989, allocations: 1.375 kB / 0.9589 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.58e-05/0.4989, allocations: 9.281 kB / 0.9589 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4989, allocations: 1.375 kB / 0.959 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4989, allocations: 0 / 0.959 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.499, allocations: 3.938 kB / 0.959 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.4991, allocations: 173.8 kB / 0.9591 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4991, allocations: 4 kB / 0.9591 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.761e-05/0.4992, allocations: 19.11 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4992, allocations: 1.375 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.4992, allocations: 0 / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4992, allocations: 0 / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4992, allocations: 1.375 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.4995, allocations: 231 kB / 0.9594 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.4995, allocations: 78.67 kB / 0.9594 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.4995, allocations: 0 / 0.9594 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.4996, allocations: 16.36 kB / 0.9595 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.4997, allocations: 9.141 kB / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.4997, allocations: 1 kB / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.4997, allocations: 89.77 kB / 0.9596 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4997, allocations: 4 kB / 0.9596 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001946/0.4999, allocations: 5.969 kB / 0.9596 GB, free: 3.746 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.0004451/0.5004, allocations: 0.7482 MB / 0.9603 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.5007, allocations: 93.77 kB / 0.9604 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5007, allocations: 0 / 0.9604 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.5008, allocations: 50.8 kB / 0.9604 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.5011, allocations: 12.81 kB / 0.9604 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.5014, allocations: 177.9 kB / 0.9606 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.5015, allocations: 0.6848 MB / 0.9613 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.5015, allocations: 1.188 kB / 0.9613 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.5015, allocations: 16.56 kB / 0.9613 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.5015, allocations: 0 / 0.9613 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.977/3.479, allocations: 1.291 MB / 0.9626 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/3.479, allocations: 212.2 kB / 0.9628 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/4.981, allocations: 0 / 0.9628 GB, free: 1.215 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