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.009705/0.009704, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001561/0.001561, allocations: 192.2 kB / 16.67 MB, free: 5.523 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 / 240.4 MB, free: 15.15 MB / 206.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.598/2.598, allocations: 390.3 MB / 0.6648 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6635, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.001417/0.6649, allocations: 0.7142 MB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005852/0.6655, allocations: 0.7943 MB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.6656, allocations: 0 / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.6656, allocations: 9.641 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.6657, allocations: 8.672 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.942e-05/0.6657, allocations: 14.78 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.6658, allocations: 42.92 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.27e-05/0.6659, allocations: 10.42 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.6659, allocations: 17.33 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.689e-05/0.666, allocations: 22.31 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.666, allocations: 4.219 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-06/0.666, allocations: 7.375 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.666, allocations: 7.656 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.6661, allocations: 17.59 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.343e-05/0.6661, allocations: 40.75 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.6661, allocations: 0 / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6661, allocations: 0 / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.6662, allocations: 0 / 1.089 GB, free: 4.121 MB / 0.8575 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.0003794/0.6665, allocations: 373.8 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.6666, allocations: 13.31 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.058e-05/0.6666, allocations: 32.06 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.6666, allocations: 7.766 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.009e-05/0.6667, allocations: 171.7 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.6667, allocations: 6.531 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.6667, allocations: 1.5 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.6669, allocations: 68.59 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.6669, allocations: 3.938 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.667, allocations: 5.719 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.667, allocations: 0 / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.6672, allocations: 63.3 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.6675, allocations: 270.5 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.6677, allocations: 62.77 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.6678, allocations: 37.16 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.6678, allocations: 1.312 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.6678, allocations: 31.12 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.6678, allocations: 1.281 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004695/0.6683, allocations: 135.8 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.534e-05/0.6683, allocations: 51.41 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.951e-05/0.6684, allocations: 107.5 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.6684, allocations: 27.08 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.6684, allocations: 94.3 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.6685, allocations: 14.66 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.6685, allocations: 12.7 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.194e-05/0.6685, allocations: 317.8 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.6687, allocations: 30.53 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.6688, allocations: 31.33 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.6691, allocations: 78.2 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.6691, allocations: 0.8438 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002885/0.6694, allocations: 97.56 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.6694, allocations: 5.469 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6694, allocations: 5.703 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.6694, allocations: 0 / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.6695, allocations: 16.02 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.6695, allocations: 0 / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.6696, allocations: 16.08 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.6696, allocations: 2.062 kB / 1.091 GB, free: 2.289 MB / 0.8575 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.893e-05/0.6697, allocations: 115 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.6697, allocations: 10.58 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.6697, allocations: 9.766 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6697, allocations: 1.062 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6697, allocations: 0.5156 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-06/0.6697, allocations: 1.281 kB / 1.091 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.6698, allocations: 169.6 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6698, allocations: 1.484 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/0.6699, allocations: 15.36 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.6699, allocations: 0 / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.6699, allocations: 9.062 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6699, allocations: 4.609 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.67, allocations: 1.125 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.6703, allocations: 193.3 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.6703, allocations: 83.17 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.6703, allocations: 5.953 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.704e-05/0.6704, allocations: 14.19 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.6704, allocations: 4.703 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.6704, allocations: 0 / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.6705, allocations: 88.17 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.6705, allocations: 1.062 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001994/0.6707, allocations: 5.531 kB / 1.092 GB, free: 1.609 MB / 0.8575 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.0004919/0.6712, allocations: 0.7342 MB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.6715, allocations: 71 kB / 1.093 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6715, allocations: 4.656 kB / 1.093 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.6716, allocations: 34.47 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.6719, allocations: 8.062 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.6722, allocations: 155.6 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.6724, allocations: 0.685 MB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.61e-05/0.6725, allocations: 1.562 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.6725, allocations: 13.98 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.6725, allocations: 0 / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.871/2.544, allocations: 1.629 MB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/15, allocations: 20.72 kB / 1.095 GB, free: 15.64 MB / 0.8731 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