Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.009672/0.009679, allocations: 99.44 kB / 15.73 MB, free: 6.035 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.002562/0.002562, allocations: 193.3 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 2.486/2.486, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 4.242/4.242, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002178, allocations: 65.38 kB / 0.9504 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4227, allocations: 140.4 MB / 1.088 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.003332/0.4261, allocations: 0.6981 MB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.4277, allocations: 0.8004 MB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.4278, allocations: 4 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.4279, allocations: 3.938 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.275e-05/0.428, allocations: 3.938 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.121e-05/0.4281, allocations: 15.98 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.4282, allocations: 47.8 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.4284, allocations: 11.98 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.4285, allocations: 15.92 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.4286, allocations: 23.92 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.4286, allocations: 4 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.4286, allocations: 4 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.4287, allocations: 11.97 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.4287, allocations: 15.88 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.4289, allocations: 44.09 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4289, allocations: 3.984 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4289, allocations: 0 / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.4289, allocations: 0 / 1.089 GB, free: 224 kB / 0.8419 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.0007831/0.4297, allocations: 363.3 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.866e-05/0.4298, allocations: 8.031 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.093e-05/0.4299, allocations: 30.75 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.43, allocations: 8.891 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.4302, allocations: 180.3 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4302, allocations: 384 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.4302, allocations: 4.375 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.4306, allocations: 70.2 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4307, allocations: 3.938 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4307, allocations: 4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4307, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.4312, allocations: 67.92 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.4318, allocations: 272.8 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.4322, allocations: 54.55 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.4325, allocations: 48.91 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.4325, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.4326, allocations: 30.56 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.4326, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0009335/0.4335, allocations: 141.5 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.4336, allocations: 51.41 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.4337, allocations: 105.8 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.4338, allocations: 25.7 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.4339, allocations: 92.08 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.4339, allocations: 3.953 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.434, allocations: 17.72 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.4342, allocations: 318.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.4345, allocations: 27.97 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.4347, allocations: 35.95 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.4352, allocations: 68.73 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4352, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005643/0.4358, allocations: 105.5 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.4359, allocations: 8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4359, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.4359, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.4361, allocations: 19.98 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4362, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.4363, allocations: 11.98 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.4363, allocations: 4 kB / 1.091 GB, free: 13.84 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 0.0001172/0.4365, allocations: 109.8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.4365, allocations: 7.984 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.4366, allocations: 7.906 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4366, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4366, allocations: 7.938 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4366, allocations: 336 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.4369, allocations: 169.6 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4369, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.4371, allocations: 19.97 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4371, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4372, allocations: 3.984 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.4372, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4372, allocations: 3.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/0.4379, allocations: 199.4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.4379, allocations: 81.11 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.438, allocations: 3.984 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.4382, allocations: 11.98 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.4383, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.4383, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.371e-05/0.4384, allocations: 91.27 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4384, allocations: 3.938 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004772/0.4389, allocations: 11.94 kB / 1.092 GB, free: 13.02 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.00111/0.44, allocations: 0.7357 MB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005853/0.4406, allocations: 63.92 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4406, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.4409, allocations: 39.97 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.4415, allocations: 9.547 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.4423, allocations: 155.1 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.4427, allocations: 0.6768 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.179e-05/0.4428, allocations: 7.984 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.4428, allocations: 15.44 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.4429, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.4793, allocations: 1.631 MB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.78, allocations: 2.25 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches