Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 117.1 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.00148/0.001481, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.17 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.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 61.72 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3147, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.002719/0.3174, allocations: 0.7811 MB / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3186, allocations: 0.874 MB / 0.9528 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.3186, allocations: 3.938 kB / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.3187, allocations: 11.86 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3188, allocations: 7.938 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.319, allocations: 39.89 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3191, allocations: 87.81 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3193, allocations: 24.22 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.718e-05/0.3194, allocations: 39.84 kB / 0.953 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.3195, allocations: 51.81 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.3195, allocations: 8 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.3195, allocations: 8 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.3196, allocations: 19.92 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.3196, allocations: 43.77 kB / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.3197, allocations: 91.66 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3198, allocations: 0 / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3198, allocations: 0 / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3198, allocations: 3.938 kB / 0.9532 GB, free: 5.949 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006091/0.3204, allocations: 407.1 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3204, allocations: 8.031 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.3205, allocations: 8.844 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.3206, allocations: 172.2 kB / 0.9537 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.3207, allocations: 12.36 kB / 0.9538 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.3207, allocations: 4.375 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.321, allocations: 102.2 kB / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.321, allocations: 4.188 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.321, allocations: 7.938 kB / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.321, allocations: 0 / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.3214, allocations: 95.84 kB / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.3219, allocations: 348.6 kB / 0.9543 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.3225, allocations: 130.5 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.3227, allocations: 52.81 kB / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.3228, allocations: 7.984 kB / 0.9545 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3228, allocations: 34.56 kB / 0.9545 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3228, allocations: 0 / 0.9545 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006414/0.3234, allocations: 181.5 kB / 0.9547 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3235, allocations: 59.34 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3236, allocations: 130 kB / 0.9549 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3236, allocations: 29.7 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.3237, allocations: 103.9 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.3237, allocations: 23.7 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.3238, allocations: 21.7 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3239, allocations: 322.8 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.3241, allocations: 43.95 kB / 0.9554 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.3242, allocations: 51.89 kB / 0.9554 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.3246, allocations: 105.2 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3246, allocations: 0 / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003611/0.3249, allocations: 137.5 kB / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.325, allocations: 11.98 kB / 0.9557 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.325, allocations: 0 / 0.9557 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.325, allocations: 0 / 0.9557 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.3252, allocations: 23.97 kB / 0.9557 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3252, allocations: 0 / 0.9557 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3253, allocations: 19.92 kB / 0.9557 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3253, allocations: 4 kB / 0.9557 GB, free: 3.113 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.412e-05/0.3254, allocations: 121.3 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.3254, allocations: 7.906 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.3255, allocations: 16.36 kB / 0.9559 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3255, allocations: 0 / 0.9559 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3255, allocations: 0 / 0.9559 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3255, allocations: 0 / 0.9559 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.3257, allocations: 205.5 kB / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3257, allocations: 0 / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.3259, allocations: 27.97 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3259, allocations: 3.938 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3259, allocations: 4 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3259, allocations: 4 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3259, allocations: 0 / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.3263, allocations: 235.3 kB / 0.9563 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.3264, allocations: 81.02 kB / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.3264, allocations: 11.98 kB / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3266, allocations: 11.92 kB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.3266, allocations: 19.98 kB / 0.9564 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.3267, allocations: 11.98 kB / 0.9565 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.846e-05/0.3267, allocations: 98.64 kB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3267, allocations: 0 / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002434/0.327, allocations: 16 kB / 0.9566 GB, free: 2.168 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001141/0.3271, allocations: 107.1 kB / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004356/0.3275, allocations: 107.9 kB / 0.9568 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3275, allocations: 0 / 0.9568 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.3277, allocations: 67.89 kB / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.3281, allocations: 9.031 kB / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.3285, allocations: 178.2 kB / 0.957 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.3287, allocations: 0.6961 MB / 0.9577 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.704e-05/0.3288, allocations: 15.98 kB / 0.9577 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.3289, allocations: 11.44 kB / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.3289, allocations: 4 kB / 0.9577 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of Templates: time 0.00402/0.3329, allocations: 1.601 MB / 0.9593 GB, free: 15.32 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches