Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001004/0.001005, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.387 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.627/2.627, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8974/0.8978, allocations: 142.4 MB / 0.9545 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001111/0.8989, allocations: 414.6 kB / 0.9548 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.8999, allocations: 0.8301 MB / 0.9557 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.8999, allocations: 1 kB / 0.9557 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.8999, allocations: 7.938 kB / 0.9557 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.9, allocations: 5.047 kB / 0.9557 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.9002, allocations: 12.67 kB / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.533e-05/0.9003, allocations: 46.97 kB / 0.9557 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.9004, allocations: 4.938 kB / 0.9557 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.849e-05/0.9005, allocations: 13.77 kB / 0.9557 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/0.9005, allocations: 27.67 kB / 0.9558 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.9006, allocations: 1.469 kB / 0.9558 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.9006, allocations: 13.31 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.9006, allocations: 1.406 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.9006, allocations: 32.52 kB / 0.9558 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.645e-05/0.9007, allocations: 33.58 kB / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.9007, allocations: 1.5 kB / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9007, allocations: 0 / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.9007, allocations: 0 / 0.9559 GB, free: 6.562 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004102/0.9012, allocations: 357.3 kB / 0.9562 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.9012, allocations: 8.844 kB / 0.9562 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.9012, allocations: 7.219 kB / 0.9562 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.9014, allocations: 172.9 kB / 0.9564 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.9014, allocations: 1.906 kB / 0.9564 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.9014, allocations: 2.188 kB / 0.9564 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.9016, allocations: 68.38 kB / 0.9564 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.9016, allocations: 4 kB / 0.9564 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.9017, allocations: 9.094 kB / 0.9565 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.9017, allocations: 5.078 kB / 0.9565 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.9019, allocations: 55.89 kB / 0.9565 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.9023, allocations: 294.3 kB / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.9025, allocations: 64.45 kB / 0.9569 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.9026, allocations: 42.34 kB / 0.9569 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.9026, allocations: 3.953 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.9026, allocations: 39.62 kB / 0.9569 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.9027, allocations: 0 / 0.9569 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004168/0.9031, allocations: 123.5 kB / 0.9571 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.9031, allocations: 52.47 kB / 0.9571 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/0.9032, allocations: 115 kB / 0.9572 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.9032, allocations: 25.7 kB / 0.9572 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.9033, allocations: 90.22 kB / 0.9573 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.9033, allocations: 14.12 kB / 0.9573 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.9033, allocations: 4 kB / 0.9573 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.9034, allocations: 312.2 kB / 0.9576 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.733e-05/0.9035, allocations: 33.28 kB / 0.9577 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.9035, allocations: 29.3 kB / 0.9577 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.522e-05/0.9036, allocations: 37.39 kB / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9037, allocations: 1.219 kB / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002195/0.9039, allocations: 93.91 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.9039, allocations: 13.62 kB / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.9039, allocations: 4 kB / 0.9578 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.9039, allocations: 1.031 kB / 0.9578 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.9041, allocations: 14.48 kB / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.9041, allocations: 1.094 kB / 0.9579 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.9042, allocations: 10 kB / 0.9579 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.9042, allocations: 5.172 kB / 0.9579 GB, free: 4.633 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.84e-05/0.9042, allocations: 116.8 kB / 0.958 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.9043, allocations: 1.406 kB / 0.958 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.9043, allocations: 9.297 kB / 0.958 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.9043, allocations: 1.281 kB / 0.958 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9043, allocations: 0 / 0.958 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.9043, allocations: 0 / 0.958 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.9045, allocations: 175.9 kB / 0.9582 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.9045, allocations: 1.188 kB / 0.9582 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.74e-05/0.9046, allocations: 18.61 kB / 0.9582 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.9046, allocations: 4.969 kB / 0.9582 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.9046, allocations: 0 / 0.9582 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.9046, allocations: 5.047 kB / 0.9582 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9046, allocations: 0 / 0.9582 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.9049, allocations: 193.8 kB / 0.9584 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.9049, allocations: 78.23 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.9049, allocations: 5.109 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.905, allocations: 6.719 kB / 0.9585 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.9051, allocations: 15.28 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.9051, allocations: 1.188 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.9051, allocations: 89.2 kB / 0.9586 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9051, allocations: 3.938 kB / 0.9586 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002154/0.9054, allocations: 10.88 kB / 0.9586 GB, free: 3.91 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00012/0.9055, allocations: 101.1 kB / 0.9587 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.9057, allocations: 71.69 kB / 0.9587 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9058, allocations: 4 kB / 0.9587 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.9059, allocations: 34.55 kB / 0.9588 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.9062, allocations: 7.453 kB / 0.9588 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.9065, allocations: 136.4 kB / 0.9589 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.9066, allocations: 0.6844 MB / 0.9596 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.454e-05/0.9067, allocations: 11.95 kB / 0.9596 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.9067, allocations: 11.28 kB / 0.9596 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.9067, allocations: 0 / 0.9596 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of Templates: time 0.00299/0.9097, allocations: 0.7438 MB / 0.9603 GB, free: 2.527 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches