Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.001245/0.001245, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.073/2.073, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4888, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.00159/0.4904, allocations: 0.6541 MB / 0.9504 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005592/0.491, allocations: 0.8036 MB / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.491, allocations: 3.938 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.4911, allocations: 0 / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.4911, allocations: 5.188 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.4912, allocations: 9.484 kB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.218e-05/0.4913, allocations: 25.08 kB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.4914, allocations: 12.2 kB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.465e-05/0.4914, allocations: 6.469 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.192e-05/0.4915, allocations: 15.89 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.4915, allocations: 1.25 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.4915, allocations: 2.469 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.4915, allocations: 0 / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.4915, allocations: 14.36 kB / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.171e-05/0.4916, allocations: 20.44 kB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.4916, allocations: 0 / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4916, allocations: 4 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.4916, allocations: 0 / 0.9513 GB, free: 7.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002964/0.4919, allocations: 340.3 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.492, allocations: 8.125 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.208e-05/0.492, allocations: 32.12 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.857e-05/0.492, allocations: 6.219 kB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.003e-05/0.4921, allocations: 173.7 kB / 0.9518 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.4921, allocations: 9.609 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-06/0.4921, allocations: 1.875 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.4922, allocations: 49.06 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.4923, allocations: 3.938 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.4923, allocations: 0 / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4923, allocations: 1.375 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.4924, allocations: 33.83 kB / 0.9519 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.4926, allocations: 245.2 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.4927, allocations: 47.5 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.764e-05/0.4928, allocations: 18.88 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.4928, allocations: 0 / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.071e-05/0.4929, allocations: 31.72 kB / 0.9522 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.4929, allocations: 0 / 0.9522 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002967/0.4932, allocations: 88.67 kB / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.634e-05/0.4932, allocations: 52.72 kB / 0.9524 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.102e-05/0.4932, allocations: 101.9 kB / 0.9525 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-06/0.4933, allocations: 26.77 kB / 0.9525 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.4933, allocations: 81.36 kB / 0.9526 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.4933, allocations: 11.84 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.4933, allocations: 16.19 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.135e-05/0.4934, allocations: 320.3 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.4934, allocations: 24.72 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.4935, allocations: 14.2 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.4937, allocations: 40.33 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4937, allocations: 3.938 kB / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001698/0.4938, allocations: 71.41 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.4939, allocations: 4.656 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.4939, allocations: 0.9375 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4939, allocations: 0 / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.494, allocations: 11.36 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.494, allocations: 0 / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.494, allocations: 11.23 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.494, allocations: 1.625 kB / 0.9531 GB, free: 6.066 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 (2): * Single equations (assignments): 2 * 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 3.579e-05/0.4941, allocations: 111.5 kB / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.4941, allocations: 5.344 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.4943, allocations: 69.31 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4943, allocations: 8.953 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4943, allocations: 4.031 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.4943, allocations: 0.7188 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.677e-05/0.4944, allocations: 162.2 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4944, allocations: 0 / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.4945, allocations: 6.375 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4945, allocations: 1.156 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4945, allocations: 3.984 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4945, allocations: 0 / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4945, allocations: 5.281 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.4947, allocations: 166.5 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.4947, allocations: 78.2 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.4947, allocations: 1.312 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.4948, allocations: 3 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.4948, allocations: 5.141 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.4948, allocations: 1.531 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.82e-05/0.4949, allocations: 86.34 kB / 0.9538 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4949, allocations: 3.938 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002003/0.4951, allocations: 4.031 kB / 0.9538 GB, free: 5.328 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 (2): * Single equations (assignments): 2 * 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.0003235/0.4954, allocations: 0.6956 MB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.4956, allocations: 40.61 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4956, allocations: 0 / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.4957, allocations: 19.73 kB / 0.9545 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.4959, allocations: 12.34 kB / 0.9545 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.4962, allocations: 144.6 kB / 0.9547 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.379e-05/0.4963, allocations: 0.6769 MB / 0.9553 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.4963, allocations: 0 / 0.9553 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.4964, allocations: 13.83 kB / 0.9553 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.4964, allocations: 0 / 0.9553 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.33/1.827, allocations: 1.235 MB / 0.9565 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/12.93, allocations: 10.81 kB / 0.9566 GB, free: 3.023 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches