Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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.01202/0.01202, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.00237/0.00237, allocations: 194.4 kB / 16.67 MB, free: 6.355 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.034/2.034, allocations: 222.9 MB / 240.4 MB, free: 4.27 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.118/4.118, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 69.83 kB / 0.9504 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3772, allocations: 140.4 MB / 1.088 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002656/0.3799, allocations: 0.766 MB / 1.088 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3813, allocations: 0.8432 MB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.3814, allocations: 0 / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.3815, allocations: 3.938 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.3816, allocations: 11.88 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.3819, allocations: 31.95 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.382, allocations: 67.89 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3822, allocations: 19.98 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3823, allocations: 35.84 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3824, allocations: 39.84 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.3825, allocations: 11.94 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.899e-05/0.3825, allocations: 4 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.3825, allocations: 19.97 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.547e-05/0.3826, allocations: 27.8 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3828, allocations: 83.72 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3828, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3829, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3829, allocations: 0 / 1.089 GB, free: 15.92 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008434/0.3837, allocations: 379 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.3838, allocations: 12.02 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.3839, allocations: 38.69 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.3839, allocations: 8.844 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.3842, allocations: 176.2 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.3842, allocations: 384 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.3842, allocations: 4.375 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.3846, allocations: 86.19 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.3846, allocations: 3.938 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.3846, allocations: 8 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.3846, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.385, allocations: 67.94 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.3857, allocations: 328.5 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.3861, allocations: 86.53 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.3863, allocations: 44.92 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3863, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3864, allocations: 30.56 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3864, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0007364/0.3871, allocations: 145.8 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3872, allocations: 59.34 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3873, allocations: 117.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.3874, allocations: 25.7 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3874, allocations: 96.03 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.3875, allocations: 23.66 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.3876, allocations: 17.7 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3878, allocations: 322.8 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.3879, allocations: 35.97 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.3881, allocations: 31.97 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.3885, allocations: 68.75 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3885, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004223/0.3889, allocations: 97.64 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3889, allocations: 8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.389, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.389, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.3892, allocations: 15.98 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3892, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.3893, allocations: 15.89 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3894, allocations: 0 / 1.092 GB, free: 13.38 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 (6): * Single equations (assignments): 6 * 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.000115/0.3895, allocations: 121.7 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.3895, allocations: 11.98 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.3896, allocations: 8.375 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3896, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3896, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3896, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.3899, allocations: 197.5 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3899, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.3901, allocations: 11.98 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3901, allocations: 7.984 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3902, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3902, allocations: 256 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3902, allocations: 8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.3907, allocations: 199.4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.3907, allocations: 88.89 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.3908, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.391, allocations: 15.86 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.3911, allocations: 15.98 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3911, allocations: 4 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.137e-05/0.3912, allocations: 95.7 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3912, allocations: 4 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000407/0.3916, allocations: 8 kB / 1.092 GB, free: 12.5 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 (6): * Single equations (assignments): 6 * 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.0009381/0.3925, allocations: 0.7436 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.393, allocations: 75.88 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.393, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.3932, allocations: 39.97 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.3937, allocations: 4.328 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.3964, allocations: 1.455 MB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.3968, allocations: 0.6885 MB / 1.095 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.851e-05/0.3969, allocations: 15.75 kB / 1.095 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.397, allocations: 27.42 kB / 1.095 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.397, allocations: 0 / 1.095 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.4259, allocations: 2.316 MB / 1.098 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 11.98 kB / 1.098 GB, free: 7.09 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches