Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 100.1 kB / 15.88 MB, free: 12 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.001786/0.001786, allocations: 200 kB / 16.79 MB, free: 6.828 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.543 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.444/2.444, allocations: 390.2 MB / 0.6649 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.001601, allocations: 67.84 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7197, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.001915/0.7217, allocations: 0.7229 MB / 0.9503 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006387/0.7223, allocations: 0.7904 MB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.7224, allocations: 1.094 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.7224, allocations: 3.938 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-05/0.7225, allocations: 1.219 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.866e-05/0.7226, allocations: 9.094 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.7226, allocations: 20.73 kB / 0.9511 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.7227, allocations: 7.281 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.7228, allocations: 8.328 kB / 0.9511 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.7228, allocations: 14.33 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.7229, allocations: 1.125 kB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-06/0.7229, allocations: 2.094 kB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.7229, allocations: 3.984 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.7229, allocations: 10.31 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.544e-05/0.723, allocations: 15.5 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.723, allocations: 0 / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.723, allocations: 0 / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.723, allocations: 1.062 kB / 0.9512 GB, free: 7.91 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.000368/0.7234, allocations: 339.8 kB / 0.9515 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.7234, allocations: 8.406 kB / 0.9515 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.7234, allocations: 14.33 kB / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.271e-05/0.7235, allocations: 170.9 kB / 0.9517 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.7236, allocations: 384 / 0.9517 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.7236, allocations: 9.469 kB / 0.9517 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.7237, allocations: 50.7 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.7237, allocations: 192 / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.7238, allocations: 7.875 kB / 0.9518 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.7238, allocations: 0 / 0.9518 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.7239, allocations: 31.44 kB / 0.9518 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.7242, allocations: 253.1 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.7243, allocations: 43.16 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/0.7244, allocations: 25.31 kB / 0.9521 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.7244, allocations: 3.984 kB / 0.9521 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.196e-05/0.7244, allocations: 39.58 kB / 0.9521 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7244, allocations: 1.875 kB / 0.9521 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003127/0.7247, allocations: 75.28 kB / 0.9522 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.7248, allocations: 52.47 kB / 0.9523 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.7248, allocations: 107.8 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.7249, allocations: 25.7 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.7249, allocations: 85.86 kB / 0.9525 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.7249, allocations: 9.156 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.7249, allocations: 16.17 kB / 0.9525 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.725, allocations: 312.1 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.7251, allocations: 16.55 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.7251, allocations: 14.45 kB / 0.9528 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.7253, allocations: 46.88 kB / 0.9529 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7253, allocations: 0 / 0.9529 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001594/0.7254, allocations: 69.55 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7255, allocations: 4.844 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7255, allocations: 3.984 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7255, allocations: 3.938 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.7256, allocations: 6.25 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.7256, allocations: 5.219 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.7256, allocations: 6.859 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.7256, allocations: 1.25 kB / 0.953 GB, free: 6.074 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 4.325e-05/0.7257, allocations: 114.8 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.7257, allocations: 6.219 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.7257, allocations: 3.125 kB / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.7258, allocations: 1.281 kB / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7258, allocations: 0 / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7258, allocations: 9.328 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.7259, allocations: 157.5 kB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7259, allocations: 1.438 kB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.7259, allocations: 13.98 kB / 0.9533 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.726, allocations: 0 / 0.9533 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.726, allocations: 0 / 0.9533 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.726, allocations: 5.547 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.726, allocations: 0 / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.7262, allocations: 175.1 kB / 0.9534 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.7262, allocations: 82.55 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.7262, allocations: 0 / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.7263, allocations: 8.984 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.7263, allocations: 0 / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.7264, allocations: 2.062 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.7264, allocations: 83.22 kB / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7264, allocations: 4.031 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000205/0.7266, allocations: 2.656 kB / 0.9536 GB, free: 5.379 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.0001078/0.7267, allocations: 102.4 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.7269, allocations: 33.78 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7269, allocations: 0 / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.804e-05/0.727, allocations: 31.16 kB / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.7273, allocations: 6.781 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.7275, allocations: 133 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.992e-05/0.7276, allocations: 0.6742 MB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.7276, allocations: 9 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7276, allocations: 0 / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of Templates: time 0.001543/0.7292, allocations: 0.5465 MB / 0.9551 GB, free: 4.133 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches