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.001638/0.001638, allocations: 105.9 kB / 16.36 MB, free: 6.289 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.001921/0.001921, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.19 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.208/2.208, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2294, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.002065/0.2315, allocations: 0.7859 MB / 0.9519 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2325, allocations: 0.8701 MB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.2326, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.2327, allocations: 15.86 kB / 0.9528 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.932e-05/0.2328, allocations: 7.875 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.2329, allocations: 39.94 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.2331, allocations: 87.77 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2332, allocations: 24.22 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.902e-05/0.2333, allocations: 43.84 kB / 0.953 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.2334, allocations: 47.81 kB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.2334, allocations: 12 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.623e-05/0.2334, allocations: 8 kB / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.2335, allocations: 15.92 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.2335, allocations: 47.77 kB / 0.9531 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.2337, allocations: 91.59 kB / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.2337, allocations: 0 / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2337, allocations: 0 / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2337, allocations: 0 / 0.9532 GB, free: 5.957 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.0006381/0.2343, allocations: 407.1 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2344, allocations: 8.031 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.2344, allocations: 8.844 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.2346, allocations: 176.2 kB / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2346, allocations: 8.375 kB / 0.9537 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.2346, allocations: 4.375 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.2349, allocations: 110.1 kB / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2349, allocations: 192 / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.235, allocations: 7.938 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.235, allocations: 7.984 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.2354, allocations: 91.91 kB / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.2359, allocations: 348.6 kB / 0.9543 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.2365, allocations: 126.5 kB / 0.9544 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.2367, allocations: 56.81 kB / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.2368, allocations: 0 / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2368, allocations: 38.56 kB / 0.9545 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2368, allocations: 0 / 0.9545 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006457/0.2374, allocations: 193.3 kB / 0.9547 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2375, allocations: 51.41 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2376, allocations: 137.1 kB / 0.9549 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2376, allocations: 25.7 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.2377, allocations: 95.98 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.2377, allocations: 23.7 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.2378, allocations: 25.7 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2379, allocations: 318.8 kB / 0.9553 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.2381, allocations: 47.95 kB / 0.9554 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.2383, allocations: 43.95 kB / 0.9554 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.2386, allocations: 100.8 kB / 0.9555 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2386, allocations: 3.938 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004073/0.239, allocations: 141.5 kB / 0.9557 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.239, allocations: 7.984 kB / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.239, allocations: 0 / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2391, allocations: 0 / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.2392, allocations: 23.97 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2393, allocations: 0 / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2394, allocations: 19.92 kB / 0.9557 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2394, allocations: 8 kB / 0.9557 GB, free: 3.121 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.653e-05/0.2395, allocations: 119.8 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.2395, allocations: 7.891 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.2396, allocations: 12.38 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2396, allocations: 0 / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2396, allocations: 0 / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2396, allocations: 0 / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.2398, allocations: 205.5 kB / 0.956 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2398, allocations: 0 / 0.956 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.24, allocations: 35.91 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.24, allocations: 0 / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.24, allocations: 4 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.24, allocations: 0 / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.24, allocations: 0 / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.2405, allocations: 235.8 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.2405, allocations: 89.02 kB / 0.9564 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.2406, allocations: 3.984 kB / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.2407, allocations: 11.98 kB / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.2408, allocations: 15.98 kB / 0.9564 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.2408, allocations: 11.98 kB / 0.9564 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.692e-05/0.2409, allocations: 99.27 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2409, allocations: 3.938 kB / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002433/0.2412, allocations: 16 kB / 0.9565 GB, free: 2.176 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.0001044/0.2413, allocations: 103.1 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004127/0.2417, allocations: 115.9 kB / 0.9568 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2417, allocations: 0 / 0.9568 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.2419, allocations: 63.89 kB / 0.9568 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.2422, allocations: 9.031 kB / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.2427, allocations: 182.1 kB / 0.957 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.2429, allocations: 0.6922 MB / 0.9577 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.783e-05/0.243, allocations: 15.98 kB / 0.9577 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.2431, allocations: 19.44 kB / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2431, allocations: 0 / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of Templates: time 0.004027/0.2471, allocations: 1.591 MB / 0.9593 GB, free: 15.34 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 gbode -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