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.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.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.00567/0.00567, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001435/0.001435, allocations: 194.4 kB / 16.79 MB, free: 5.809 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.373/2.373, allocations: 390.2 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7389/0.7404, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002299/0.7427, allocations: 0.7607 MB / 0.9503 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.7438, allocations: 0.8006 MB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.16e-05/0.7439, allocations: 4 kB / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.924e-05/0.7439, allocations: 3.938 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.032e-05/0.744, allocations: 5.281 kB / 0.9511 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.681e-05/0.7441, allocations: 9.453 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.7442, allocations: 41.11 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.7443, allocations: 11.98 kB / 0.9512 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.849e-05/0.7444, allocations: 18.75 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.7445, allocations: 17.42 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.7445, allocations: 9.312 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.7445, allocations: 2.75 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.7445, allocations: 9.359 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.7446, allocations: 10.69 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.143e-05/0.7446, allocations: 26.81 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7447, allocations: 0 / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7447, allocations: 0 / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.7447, allocations: 3.938 kB / 0.9513 GB, free: 7.797 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.0005235/0.7452, allocations: 366 kB / 0.9516 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.7453, allocations: 8.25 kB / 0.9517 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.7453, allocations: 7.625 kB / 0.9517 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.7454, allocations: 179 kB / 0.9518 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.7454, allocations: 1.75 kB / 0.9518 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.7454, allocations: 1.75 kB / 0.9518 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.7457, allocations: 66.84 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7457, allocations: 192 / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.7458, allocations: 9.312 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7458, allocations: 0 / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.7461, allocations: 63.67 kB / 0.952 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.7464, allocations: 270.6 kB / 0.9522 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.7467, allocations: 56.48 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.7468, allocations: 50.84 kB / 0.9523 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.7468, allocations: 0 / 0.9523 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.7469, allocations: 31.94 kB / 0.9524 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.7469, allocations: 4 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000524/0.7474, allocations: 133.8 kB / 0.9525 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.7474, allocations: 51.41 kB / 0.9525 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/0.7475, allocations: 111.9 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.7475, allocations: 27.23 kB / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.7476, allocations: 89.7 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.7476, allocations: 12.69 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.7477, allocations: 11.91 kB / 0.9528 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.7477, allocations: 317.1 kB / 0.9531 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.7479, allocations: 28.84 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.748, allocations: 37.11 kB / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.7483, allocations: 68 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.7483, allocations: 3.938 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003051/0.7486, allocations: 109.2 kB / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.7486, allocations: 9.062 kB / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7487, allocations: 0 / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.7487, allocations: 1.625 kB / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.7488, allocations: 13.17 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.7488, allocations: 1.156 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/0.7489, allocations: 14.64 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.7489, allocations: 1.094 kB / 0.9534 GB, free: 5.816 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 6.327e-05/0.749, allocations: 119.4 kB / 0.9535 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.749, allocations: 2.562 kB / 0.9535 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.7491, allocations: 8.875 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7491, allocations: 0 / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7491, allocations: 1.812 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7491, allocations: 0 / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.7492, allocations: 168.4 kB / 0.9536 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.7492, allocations: 1.5 kB / 0.9536 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.7493, allocations: 20.97 kB / 0.9537 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7493, allocations: 1.125 kB / 0.9537 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.7494, allocations: 4 kB / 0.9537 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.7494, allocations: 5.375 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7494, allocations: 0 / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.7497, allocations: 196.4 kB / 0.9539 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.7498, allocations: 82.28 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.7498, allocations: 4 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.7499, allocations: 11.17 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.7499, allocations: 1.406 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.7499, allocations: 5.344 kB / 0.954 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.75, allocations: 90.36 kB / 0.9541 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.75, allocations: 0 / 0.9541 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002176/0.7502, allocations: 5.344 kB / 0.9541 GB, free: 5.094 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.0001246/0.7503, allocations: 102.3 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.7507, allocations: 74.58 kB / 0.9542 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7507, allocations: 0 / 0.9542 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.7509, allocations: 36.17 kB / 0.9543 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.7512, allocations: 12.69 kB / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.7516, allocations: 163.8 kB / 0.9544 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.7517, allocations: 0.6808 MB / 0.9551 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.7517, allocations: 8.938 kB / 0.9551 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/0.7517, allocations: 0 / 0.9551 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of Templates: time 0.002751/0.7545, allocations: 0.7353 MB / 0.9558 GB, free: 3.699 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/jenkins1/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