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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001849/0.00185, 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.003143/0.003143, allocations: 196.1 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.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.476/2.476, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8867/0.8881, allocations: 140.3 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.003689/0.8918, allocations: 0.7641 MB / 0.9497 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.8935, allocations: 0.8048 MB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.8936, allocations: 0 / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.511e-05/0.8937, allocations: 1.188 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.8938, allocations: 3.938 kB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.126e-05/0.894, allocations: 10.2 kB / 0.9505 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.8941, allocations: 44.73 kB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.8943, allocations: 11.83 kB / 0.9505 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.8944, allocations: 13.98 kB / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.969e-05/0.8946, allocations: 25.62 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.8946, allocations: 6.406 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.927e-05/0.8946, allocations: 2.562 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.8947, allocations: 9.328 kB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.8947, allocations: 10.47 kB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.8949, allocations: 39.41 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8949, allocations: 0 / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8949, allocations: 0 / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.8949, allocations: 1.312 kB / 0.9506 GB, free: 7.812 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.0007747/0.8957, allocations: 368.1 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.8958, allocations: 9.281 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.8959, allocations: 3.656 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.896, allocations: 166.9 kB / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.8961, allocations: 9.453 kB / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.8961, allocations: 1.406 kB / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.8965, allocations: 72.36 kB / 0.9512 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.8965, allocations: 4.188 kB / 0.9512 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.8965, allocations: 3.938 kB / 0.9512 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.8966, allocations: 5.219 kB / 0.9513 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.897, allocations: 62.89 kB / 0.9513 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.8978, allocations: 263.2 kB / 0.9516 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.8981, allocations: 68.19 kB / 0.9516 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.8985, allocations: 42.19 kB / 0.9517 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.8985, allocations: 1.375 kB / 0.9517 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.8986, allocations: 38.5 kB / 0.9517 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.345e-06/0.8986, allocations: 4 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000965/0.8996, allocations: 126.4 kB / 0.9518 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.8996, allocations: 55.34 kB / 0.9519 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.8997, allocations: 107.8 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.8998, allocations: 30.36 kB / 0.952 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.8998, allocations: 90.62 kB / 0.9521 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.8999, allocations: 9.344 kB / 0.9521 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.8999, allocations: 15.16 kB / 0.9521 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.481e-05/0.9, allocations: 317.5 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.9003, allocations: 28.75 kB / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.9006, allocations: 33.12 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.9011, allocations: 68.41 kB / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9011, allocations: 3.938 kB / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005639/0.9017, allocations: 104.5 kB / 0.9527 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.9017, allocations: 4.438 kB / 0.9527 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.9017, allocations: 1.344 kB / 0.9527 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.9018, allocations: 7.922 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.902, allocations: 14.05 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.902, allocations: 1.781 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.9022, allocations: 10.36 kB / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.9022, allocations: 0 / 0.9527 GB, free: 5.836 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 8.895e-05/0.9023, allocations: 120.1 kB / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.9024, allocations: 2.375 kB / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.9024, allocations: 12.98 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.9024, allocations: 1.641 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9024, allocations: 0 / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.9025, allocations: 0 / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.9027, allocations: 173.2 kB / 0.953 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9027, allocations: 0 / 0.953 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.9029, allocations: 14.89 kB / 0.953 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.9029, allocations: 4 kB / 0.953 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.903, allocations: 5.047 kB / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.903, allocations: 0 / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.903, allocations: 1.219 kB / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.9036, allocations: 195 kB / 0.9532 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.9037, allocations: 83.3 kB / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.9037, allocations: 4 kB / 0.9533 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.9039, allocations: 19.22 kB / 0.9533 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.904, allocations: 2.062 kB / 0.9533 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.9041, allocations: 1.531 kB / 0.9533 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.918e-05/0.9041, allocations: 93.22 kB / 0.9534 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.6e-07/0.9042, allocations: 3.938 kB / 0.9534 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004142/0.9046, allocations: 6.625 kB / 0.9534 GB, free: 5.102 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.0002431/0.9048, allocations: 102.1 kB / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005834/0.9054, allocations: 69.95 kB / 0.9536 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9055, allocations: 0 / 0.9536 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.9058, allocations: 36.89 kB / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.9063, allocations: 15.12 kB / 0.9536 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.9068, allocations: 130.1 kB / 0.9537 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.907, allocations: 0.68 MB / 0.9544 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.95e-05/0.9071, allocations: 9.391 kB / 0.9544 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.9072, allocations: 8.969 kB / 0.9544 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of SimCode: time 7.62e-07/0.9072, allocations: 0 / 0.9544 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of Templates: time 0.004801/0.912, allocations: 0.5396 MB / 0.955 GB, free: 3.836 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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