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.004324/0.004324, allocations: 103.1 kB / 15.73 MB, free: 6.043 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.001018/0.001018, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.212/1.212, 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.214/2.214, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8016, allocations: 140.4 MB / 1.088 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.001729/0.8034, allocations: 0.7063 MB / 1.088 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.8042, allocations: 0.7976 MB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.8042, allocations: 1.062 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.8042, allocations: 4.5 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.8043, allocations: 5.422 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.687e-05/0.8044, allocations: 18.7 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.231e-05/0.8045, allocations: 41.88 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.8046, allocations: 11.61 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.8047, allocations: 17.23 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.8047, allocations: 22.91 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.8047, allocations: 3.938 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.8047, allocations: 2.938 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.8048, allocations: 7.062 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.8048, allocations: 22.16 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.841e-05/0.8049, allocations: 39.86 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8049, allocations: 1.344 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8049, allocations: 0 / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.8049, allocations: 0 / 1.089 GB, free: 4.137 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.0004608/0.8054, allocations: 371.2 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.8054, allocations: 10.09 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.8055, allocations: 31.92 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.106e-05/0.8055, allocations: 11.56 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.101e-05/0.8056, allocations: 164.3 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.8056, allocations: 5.469 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.8056, allocations: 5.953 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.8058, allocations: 69.48 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.8058, allocations: 3.938 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.8059, allocations: 4 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8059, allocations: 1.25 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.8062, allocations: 70.31 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.8064, allocations: 270 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.8067, allocations: 63.42 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.8068, allocations: 40.42 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.8068, allocations: 1.5 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.284e-05/0.8069, allocations: 31.69 kB / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.8069, allocations: 0 / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005319/0.8074, allocations: 133 kB / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.8074, allocations: 52.2 kB / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.8075, allocations: 110.9 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.8075, allocations: 27.5 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.8075, allocations: 85.95 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.8076, allocations: 14.52 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.8076, allocations: 16.58 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.8076, allocations: 317.6 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.8078, allocations: 32 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.8079, allocations: 30.81 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.8082, allocations: 74.19 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8083, allocations: 0.7812 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003444/0.8086, allocations: 96.73 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.8086, allocations: 5.953 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8086, allocations: 1.562 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.8087, allocations: 0.6094 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.8088, allocations: 19.58 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.8088, allocations: 0 / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.8089, allocations: 11.33 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.8089, allocations: 4.922 kB / 1.091 GB, free: 2.305 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 5.082e-05/0.809, allocations: 116.7 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.809, allocations: 6.641 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.809, allocations: 5.516 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.809, allocations: 5.734 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.809, allocations: 0 / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.809, allocations: 1.031 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.8092, allocations: 175.1 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8092, allocations: 0 / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.68e-05/0.8093, allocations: 15.25 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8093, allocations: 5.422 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.8093, allocations: 0 / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.8093, allocations: 1.031 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8093, allocations: 4.75 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.8097, allocations: 201 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.8097, allocations: 84.12 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.8097, allocations: 0.5625 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.8098, allocations: 15.41 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.8099, allocations: 12.77 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.8099, allocations: 0 / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.8099, allocations: 87.94 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8099, allocations: 0 / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002111/0.8101, allocations: 6.562 kB / 1.092 GB, free: 1.617 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.0005801/0.8107, allocations: 0.7364 MB / 1.093 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.8111, allocations: 66.06 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8111, allocations: 1.5 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.8112, allocations: 38.05 kB / 1.093 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.8116, allocations: 4.891 kB / 1.093 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.812, allocations: 158 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.8122, allocations: 0.6805 MB / 1.094 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.8123, allocations: 4.906 kB / 1.094 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.8123, allocations: 14.73 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8123, allocations: 0.75 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.8302, allocations: 1.647 MB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/8.48, allocations: 8.234 kB / 1.095 GB, free: 15.66 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