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.01094/0.01094, allocations: 102.8 kB / 15.73 MB, free: 5.996 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.002107/0.002107, allocations: 193.2 kB / 16.67 MB, free: 5.918 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.666/1.666, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.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.487/2.487, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.175, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002269/1.177, allocations: 0.6999 MB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001222/1.178, allocations: 0.7976 MB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/1.179, allocations: 5.031 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/1.179, allocations: 3.938 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/1.179, allocations: 10.22 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.826e-05/1.179, allocations: 10.64 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.621e-05/1.179, allocations: 46.19 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/1.179, allocations: 7.25 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.646e-05/1.179, allocations: 20.75 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/1.179, allocations: 18.72 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/1.179, allocations: 3.938 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/1.179, allocations: 4.031 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/1.179, allocations: 15.66 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/1.179, allocations: 20.94 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/1.179, allocations: 38 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.179, allocations: 1.094 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.456e-06/1.179, allocations: 0.75 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.179, allocations: 0 / 1.09 GB, free: 4.359 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006673/1.18, allocations: 361 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.18, allocations: 8.812 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/1.18, allocations: 11.16 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/1.18, allocations: 178.9 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/1.18, allocations: 5.469 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/1.18, allocations: 1.438 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/1.181, allocations: 68.28 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/1.181, allocations: 1.094 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.181, allocations: 3.938 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.181, allocations: 1.891 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/1.181, allocations: 66.19 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/1.181, allocations: 266.1 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/1.182, allocations: 59.3 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/1.182, allocations: 52.33 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/1.182, allocations: 0 / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/1.182, allocations: 31.98 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/1.182, allocations: 0 / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005875/1.182, allocations: 132.3 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.183, allocations: 52.92 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/1.183, allocations: 107.3 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/1.183, allocations: 26.73 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/1.183, allocations: 91.08 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/1.183, allocations: 14.11 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/1.183, allocations: 19.94 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.789e-05/1.183, allocations: 314.8 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/1.183, allocations: 34.39 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/1.183, allocations: 31.03 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/1.183, allocations: 71.06 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.183, allocations: 3.938 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003209/1.184, allocations: 97.16 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/1.184, allocations: 6.844 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.184, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/1.184, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/1.184, allocations: 24.03 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.184, allocations: 0.7969 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/1.184, allocations: 12.33 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/1.184, allocations: 0 / 1.092 GB, free: 2.574 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 (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 7.05e-05/1.184, allocations: 112.8 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/1.184, allocations: 6.859 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/1.184, allocations: 9.578 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/1.184, allocations: 9.078 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.184, allocations: 0 / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.184, allocations: 1.656 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/1.184, allocations: 170.4 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.184, allocations: 0.7812 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.381e-05/1.185, allocations: 18.97 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.185, allocations: 0.8125 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/1.185, allocations: 0.5156 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.185, allocations: 1.062 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.185, allocations: 3.938 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/1.185, allocations: 202.3 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/1.185, allocations: 83.11 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/1.185, allocations: 0.75 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/1.185, allocations: 11.7 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/1.185, allocations: 7.406 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/1.185, allocations: 1.656 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.75e-05/1.185, allocations: 87.67 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.185, allocations: 0.7812 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002089/1.185, allocations: 5.594 kB / 1.092 GB, free: 1.895 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 (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.0001461/1.186, allocations: 100.2 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003736/1.186, allocations: 78.88 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.186, allocations: 0 / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/1.186, allocations: 33.38 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/1.187, allocations: 13.62 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/1.187, allocations: 126.7 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/1.187, allocations: 0.6804 MB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.7e-05/1.187, allocations: 1.688 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/1.187, allocations: 9.438 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/1.187, allocations: 0 / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of Templates: time 0.003723/1.191, allocations: 0.6796 MB / 1.094 GB, free: 0.8828 MB / 0.8575 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