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.001694/0.0017, allocations: 116.4 kB / 16.37 MB, free: 6.012 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.002187/0.002187, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.576/1.576, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 62.66 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3319, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002446/0.3344, allocations: 0.6996 MB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3355, allocations: 0.8079 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.3356, allocations: 4 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.3356, allocations: 3.938 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.141e-05/0.3357, allocations: 3.938 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.124e-05/0.3358, allocations: 11.98 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.3359, allocations: 43.84 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.336, allocations: 15.98 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.3361, allocations: 15.92 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.3362, allocations: 27.86 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3362, allocations: 4 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-06/0.3362, allocations: 4 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.3362, allocations: 11.98 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.3363, allocations: 11.88 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.3364, allocations: 43.86 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3364, allocations: 0 / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3364, allocations: 4 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3364, allocations: 0 / 0.9528 GB, free: 6.309 MB / 0.7325 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.0005691/0.337, allocations: 367.3 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.337, allocations: 8.031 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.3371, allocations: 0.9375 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3372, allocations: 176.2 kB / 0.9533 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3372, allocations: 384 / 0.9533 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.3373, allocations: 8.359 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.3375, allocations: 72.27 kB / 0.9534 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3375, allocations: 4.188 kB / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3376, allocations: 3.938 kB / 0.9534 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.3376, allocations: 3.984 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.3378, allocations: 63.92 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.3383, allocations: 265 kB / 0.9537 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.3385, allocations: 62.42 kB / 0.9538 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.3386, allocations: 44.91 kB / 0.9538 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.3386, allocations: 3.938 kB / 0.9539 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.3387, allocations: 30.56 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3387, allocations: 4 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005159/0.3392, allocations: 129.5 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.3392, allocations: 55.39 kB / 0.9541 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.3393, allocations: 109.8 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3394, allocations: 25.7 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.3394, allocations: 88.14 kB / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3395, allocations: 11.84 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.3395, allocations: 13.66 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3396, allocations: 322.8 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3398, allocations: 27.97 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.3399, allocations: 35.95 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.3401, allocations: 64.8 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3402, allocations: 3.938 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002904/0.3405, allocations: 97.53 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3405, allocations: 11.98 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3405, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3405, allocations: 4 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3407, allocations: 19.92 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3407, allocations: 0 / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.3408, allocations: 11.98 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3408, allocations: 0 / 0.9549 GB, free: 3.977 MB / 0.7325 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 9.095e-05/0.3409, allocations: 121.8 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.3409, allocations: 0 / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.3409, allocations: 11.89 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3409, allocations: 4 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.341, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.341, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.3412, allocations: 169.5 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3412, allocations: 0 / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.121e-05/0.3413, allocations: 15.97 kB / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3413, allocations: 4 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3413, allocations: 8 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3413, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3413, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.3417, allocations: 195.7 kB / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.3417, allocations: 81.05 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3417, allocations: 8 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3419, allocations: 15.97 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.3419, allocations: 4 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.3419, allocations: 0 / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.342, allocations: 95.2 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.342, allocations: 0 / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002183/0.3422, allocations: 4 kB / 0.9556 GB, free: 3.156 MB / 0.7325 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.0001634/0.3424, allocations: 107.2 kB / 0.9557 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003144/0.3427, allocations: 63.92 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3427, allocations: 0 / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3428, allocations: 43.89 kB / 0.9558 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3431, allocations: 15.94 kB / 0.9558 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.3435, allocations: 117.5 kB / 0.9559 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.3437, allocations: 0.6844 MB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.244e-05/0.3438, allocations: 3.984 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.3438, allocations: 15.44 kB / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3438, allocations: 0 / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of Templates: time 0.003058/0.3469, allocations: 0.679 MB / 0.9573 GB, free: 1.383 MB / 0.7325 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 -s cvode -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