Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Derivative,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",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.00148/0.00148, 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.001709/0.001709, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.368/1.368, 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.263/2.263, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 71.91 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.5101, allocations: 140.4 MB / 0.9493 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001636/0.5118, allocations: 1.095 MB / 0.9503 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.5127, allocations: 0.9984 MB / 0.9513 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.5128, allocations: 2.344 kB / 0.9513 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.728e-05/0.5129, allocations: 9.125 kB / 0.9513 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.5129, allocations: 13.8 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.5131, allocations: 59.17 kB / 0.9514 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.5132, allocations: 166.4 kB / 0.9515 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.5134, allocations: 85.09 kB / 0.9516 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.074e-05/0.5134, allocations: 67.09 kB / 0.9517 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.5135, allocations: 78.73 kB / 0.9518 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.5135, allocations: 16.5 kB / 0.9518 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/0.5136, allocations: 15.12 kB / 0.9518 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.5136, allocations: 37.41 kB / 0.9518 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.5136, allocations: 74.7 kB / 0.9519 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.5138, allocations: 171 kB / 0.9521 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.5138, allocations: 3.984 kB / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.22e-07/0.5138, allocations: 0 / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.5138, allocations: 1.5 kB / 0.9521 GB, free: 6.98 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005538/0.5144, allocations: 468.2 kB / 0.9525 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.5144, allocations: 9.5 kB / 0.9525 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.5144, allocations: 56.61 kB / 0.9526 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.5145, allocations: 21.56 kB / 0.9526 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.5146, allocations: 219.8 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.5146, allocations: 15.7 kB / 0.9528 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.5147, allocations: 18.66 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.5149, allocations: 143.6 kB / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5149, allocations: 3.938 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.5149, allocations: 5.469 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5149, allocations: 2.812 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.5152, allocations: 109.4 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.516, allocations: 0.5317 MB / 0.9536 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.5163, allocations: 137.5 kB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.5164, allocations: 86.83 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.5165, allocations: 6.328 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.5167, allocations: 120.9 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.5167, allocations: 0 / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0004312/0.5171, allocations: 232.4 kB / 0.9542 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.464e-05/0.5172, allocations: 58.06 kB / 0.9542 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.5172, allocations: 153.8 kB / 0.9544 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5173, allocations: 31.08 kB / 0.9544 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.5173, allocations: 114.1 kB / 0.9545 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.5173, allocations: 66.81 kB / 0.9546 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.5174, allocations: 39.89 kB / 0.9546 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.5174, allocations: 329.3 kB / 0.9549 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.5176, allocations: 67.55 kB / 0.955 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.5178, allocations: 85.77 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.5181, allocations: 138.7 kB / 0.9552 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5181, allocations: 4 kB / 0.9552 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000406/0.5185, allocations: 214.8 kB / 0.9554 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.5185, allocations: 8.609 kB / 0.9554 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.5185, allocations: 1.344 kB / 0.9554 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.5186, allocations: 1 kB / 0.9554 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.5187, allocations: 38.02 kB / 0.9555 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.5187, allocations: 1.094 kB / 0.9555 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.5189, allocations: 34.12 kB / 0.9555 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.5189, allocations: 4.625 kB / 0.9555 GB, free: 4.164 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 6.357e-05/0.519, allocations: 132.9 kB / 0.9556 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.519, allocations: 14.69 kB / 0.9556 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.5193, allocations: 191.2 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.5193, allocations: 2.5 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5193, allocations: 0 / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5193, allocations: 1.156 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.5199, allocations: 0.5936 MB / 0.9564 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5199, allocations: 7.594 kB / 0.9564 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.5201, allocations: 33.11 kB / 0.9564 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5201, allocations: 3.625 kB / 0.9564 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.5201, allocations: 6.969 kB / 0.9564 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.5201, allocations: 11.75 kB / 0.9565 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5201, allocations: 3.984 kB / 0.9565 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.5205, allocations: 379.8 kB / 0.9568 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.5206, allocations: 86.73 kB / 0.9569 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.5206, allocations: 11.38 kB / 0.9569 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.5208, allocations: 20.89 kB / 0.9569 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.5208, allocations: 21.11 kB / 0.957 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.5208, allocations: 9.922 kB / 0.957 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.018e-05/0.5209, allocations: 124.2 kB / 0.9571 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.62e-07/0.5209, allocations: 0 / 0.9571 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002401/0.5211, allocations: 39.12 kB / 0.9571 GB, free: 2.812 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0005714/0.5217, allocations: 0.9171 MB / 0.958 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.5221, allocations: 175.5 kB / 0.9582 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5221, allocations: 0 / 0.9582 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.5222, allocations: 85.81 kB / 0.9583 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.5225, allocations: 26.59 kB / 0.9583 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.5245, allocations: 2.156 MB / 0.9604 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.5247, allocations: 0.7254 MB / 0.9611 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.972e-05/0.5248, allocations: 15.73 kB / 0.9611 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.5249, allocations: 52.81 kB / 0.9612 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5249, allocations: 1.094 kB / 0.9612 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7169/1.242, allocations: 3.321 MB / 0.9644 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/1.242, allocations: 216.1 kB / 0.9646 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/3.024, allocations: 0 / 0.9646 GB, free: 13.45 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches