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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001147/0.001147, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5085, allocations: 140.4 MB / 0.9491 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.00163/0.5102, allocations: 0.8234 MB / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005772/0.5108, allocations: 0.8398 MB / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.5108, allocations: 1.375 kB / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.5108, allocations: 0 / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.868e-05/0.5109, allocations: 3.938 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.511, allocations: 29.45 kB / 0.9507 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.621e-05/0.5111, allocations: 59.41 kB / 0.9508 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.5112, allocations: 20.23 kB / 0.9508 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.5113, allocations: 34.8 kB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.5113, allocations: 41.44 kB / 0.9509 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.5114, allocations: 4.125 kB / 0.9509 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.5114, allocations: 4.125 kB / 0.9509 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.5114, allocations: 10.73 kB / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.5114, allocations: 33.3 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.29e-05/0.5115, allocations: 70.73 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5115, allocations: 4 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.31e-07/0.5115, allocations: 1.375 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.5115, allocations: 0 / 0.951 GB, free: 7.68 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003885/0.5119, allocations: 377.8 kB / 0.9514 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.512, allocations: 9.031 kB / 0.9514 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.601e-05/0.512, allocations: 40.23 kB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.512, allocations: 8.688 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.599e-05/0.5121, allocations: 176.5 kB / 0.9516 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.5121, allocations: 7.219 kB / 0.9516 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.5121, allocations: 7.344 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.5123, allocations: 83.14 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.5123, allocations: 3.938 kB / 0.9517 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5124, allocations: 5.312 kB / 0.9517 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.5124, allocations: 1.562 kB / 0.9517 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.5126, allocations: 62.38 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.5129, allocations: 334.6 kB / 0.9521 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.5131, allocations: 86.86 kB / 0.9521 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.5132, allocations: 39.61 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.5132, allocations: 4 kB / 0.9522 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.407e-06/0.5133, allocations: 35.81 kB / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.5133, allocations: 0 / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003946/0.5137, allocations: 134.9 kB / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.615e-05/0.5137, allocations: 55.41 kB / 0.9524 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.794e-05/0.5138, allocations: 118.3 kB / 0.9525 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.5138, allocations: 29.7 kB / 0.9525 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.5138, allocations: 101 kB / 0.9526 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.5138, allocations: 13.62 kB / 0.9527 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.5139, allocations: 22.8 kB / 0.9527 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.428e-05/0.5139, allocations: 320 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.514, allocations: 27.84 kB / 0.953 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.442e-05/0.5141, allocations: 36.16 kB / 0.953 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.5143, allocations: 74.31 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5143, allocations: 112 / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002368/0.5146, allocations: 110.1 kB / 0.9532 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.5146, allocations: 5.906 kB / 0.9532 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.5146, allocations: 0 / 0.9532 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.5146, allocations: 1.562 kB / 0.9532 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5147, allocations: 18.92 kB / 0.9532 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.5147, allocations: 0 / 0.9532 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.5148, allocations: 8.766 kB / 0.9533 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.5148, allocations: 1.125 kB / 0.9533 GB, free: 5.543 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 (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 4.704e-05/0.5149, allocations: 124.6 kB / 0.9534 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.5149, allocations: 6.75 kB / 0.9534 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.5149, allocations: 13.83 kB / 0.9534 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.5149, allocations: 1.438 kB / 0.9534 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5149, allocations: 3.938 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-06/0.5149, allocations: 4 kB / 0.9534 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.5151, allocations: 195.2 kB / 0.9536 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5151, allocations: 0 / 0.9536 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.5152, allocations: 15.27 kB / 0.9536 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.5152, allocations: 0 / 0.9536 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.5152, allocations: 5.109 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5152, allocations: 1.375 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5152, allocations: 0 / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.5155, allocations: 213.3 kB / 0.9538 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.5155, allocations: 83.45 kB / 0.9539 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.5155, allocations: 0 / 0.9539 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.5156, allocations: 12.02 kB / 0.9539 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.5157, allocations: 13.55 kB / 0.9539 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.5157, allocations: 1.094 kB / 0.9539 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.5157, allocations: 93.33 kB / 0.954 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5157, allocations: 4 kB / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002045/0.5159, allocations: 9.562 kB / 0.954 GB, free: 4.777 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 (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.0004108/0.5164, allocations: 0.7401 MB / 0.9547 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.5166, allocations: 79.53 kB / 0.9548 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5166, allocations: 0 / 0.9548 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.5167, allocations: 44.28 kB / 0.9549 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.517, allocations: 10.75 kB / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.5182, allocations: 1.462 MB / 0.9563 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.258e-05/0.5183, allocations: 0.6931 MB / 0.957 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.23e-05/0.5184, allocations: 12.3 kB / 0.957 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.5184, allocations: 22.98 kB / 0.957 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5184, allocations: 0 / 0.957 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.484/3.002, allocations: 2.033 MB / 0.959 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/3.003, allocations: 201.3 kB / 0.9592 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/5.432, allocations: 0 / 0.9592 GB, free: 0.6406 MB / 0.7169 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