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.001308/0.001308, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001377/0.001377, allocations: 194 kB / 16.25 MB, free: 6.621 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.18/2.18, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.91 kB / 0.8122 GB, free: 14.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5066, allocations: 140.4 MB / 0.9493 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.00147/0.5081, allocations: 0.768 MB / 0.95 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005894/0.5087, allocations: 0.8019 MB / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.5088, allocations: 0 / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.5088, allocations: 0 / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.5089, allocations: 5.281 kB / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.372e-05/0.5089, allocations: 13.41 kB / 0.9508 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.509, allocations: 46.25 kB / 0.9508 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.785e-05/0.5091, allocations: 8.219 kB / 0.9509 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.5091, allocations: 17.42 kB / 0.9509 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.186e-05/0.5092, allocations: 25.5 kB / 0.9509 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.5092, allocations: 3.375 kB / 0.9509 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.5092, allocations: 3.188 kB / 0.9509 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.5092, allocations: 13.33 kB / 0.9509 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.5092, allocations: 19.73 kB / 0.9509 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.833e-05/0.5093, allocations: 34.88 kB / 0.951 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5093, allocations: 0 / 0.951 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5093, allocations: 1.375 kB / 0.951 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.5093, allocations: 0 / 0.951 GB, free: 7.785 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.0003519/0.5097, allocations: 368.9 kB / 0.9513 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.5097, allocations: 10.25 kB / 0.9513 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.091e-05/0.5097, allocations: 30.75 kB / 0.9514 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.5098, allocations: 11.14 kB / 0.9514 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.735e-05/0.5098, allocations: 166.9 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.5098, allocations: 6.156 kB / 0.9515 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.5099, allocations: 5.625 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.5101, allocations: 71.75 kB / 0.9516 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5101, allocations: 3.938 kB / 0.9516 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.5101, allocations: 0 / 0.9516 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5101, allocations: 1.406 kB / 0.9516 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.5103, allocations: 66.52 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.5106, allocations: 270.8 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.5107, allocations: 69.11 kB / 0.952 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.5109, allocations: 38.52 kB / 0.952 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.5109, allocations: 0 / 0.952 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.5109, allocations: 35.94 kB / 0.9521 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.5109, allocations: 0 / 0.9521 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000426/0.5113, allocations: 137.3 kB / 0.9522 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.609e-05/0.5114, allocations: 52.84 kB / 0.9523 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.838e-05/0.5114, allocations: 110.6 kB / 0.9524 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.5114, allocations: 26.89 kB / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.982e-05/0.5114, allocations: 85.2 kB / 0.9525 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.5115, allocations: 14.27 kB / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.5115, allocations: 20.12 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.209e-05/0.5115, allocations: 311.8 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.5117, allocations: 33.83 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.5118, allocations: 29.38 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.512, allocations: 75.41 kB / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.512, allocations: 0 / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000254/0.5123, allocations: 100.5 kB / 0.953 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.5123, allocations: 5.625 kB / 0.953 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.5123, allocations: 0 / 0.953 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.5123, allocations: 4.875 kB / 0.953 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5124, allocations: 14.42 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.5124, allocations: 0 / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.5125, allocations: 15.25 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.5125, allocations: 1 kB / 0.9531 GB, free: 5.762 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 4.005e-05/0.5125, allocations: 116 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.5126, allocations: 1.094 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.714e-05/0.5126, allocations: 13.66 kB / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5126, allocations: 0 / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5126, allocations: 4.938 kB / 0.9532 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.5126, allocations: 0 / 0.9532 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.948e-05/0.5127, allocations: 170.1 kB / 0.9534 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5127, allocations: 0 / 0.9534 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.5128, allocations: 18.58 kB / 0.9534 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5128, allocations: 0 / 0.9534 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.5128, allocations: 1.438 kB / 0.9534 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5128, allocations: 0 / 0.9534 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5128, allocations: 4 kB / 0.9534 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.5131, allocations: 199.7 kB / 0.9536 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.5131, allocations: 79.45 kB / 0.9536 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.5131, allocations: 4 kB / 0.9536 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.5132, allocations: 23.23 kB / 0.9537 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.5133, allocations: 9.359 kB / 0.9537 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5133, allocations: 1.531 kB / 0.9537 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.5133, allocations: 85.97 kB / 0.9538 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5133, allocations: 0 / 0.9538 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001968/0.5135, allocations: 5.562 kB / 0.9538 GB, free: 5.031 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.0004231/0.5139, allocations: 0.7386 MB / 0.9545 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.5142, allocations: 65.7 kB / 0.9546 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5142, allocations: 5.188 kB / 0.9546 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.5144, allocations: 35.77 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.5146, allocations: 9.531 kB / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.5149, allocations: 163.8 kB / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.326e-05/0.515, allocations: 0.6875 MB / 0.9554 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.5151, allocations: 1.906 kB / 0.9554 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.5151, allocations: 12.66 kB / 0.9554 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.5151, allocations: 0.5938 kB / 0.9554 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.267/1.782, allocations: 1.402 MB / 0.9568 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.782, allocations: 208 kB / 0.957 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/3.654, allocations: 0 / 0.957 GB, free: 2.422 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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