Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.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.0009748/0.0009749, allocations: 109.8 kB / 16.37 MB, free: 6.477 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.001014/0.001014, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.536/1.536, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.556/2.556, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 60.03 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3423, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002305/0.3446, allocations: 0.7932 MB / 1.028 GB, free: 1.273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3457, allocations: 0.8623 MB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.3458, allocations: 0 / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.3459, allocations: 3.938 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.618e-05/0.346, allocations: 15.86 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.3461, allocations: 39.89 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.3463, allocations: 91.81 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3464, allocations: 16 kB / 1.029 GB, free: 240 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.3465, allocations: 43.89 kB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.3466, allocations: 43.83 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.3466, allocations: 11.94 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.3466, allocations: 12 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.3467, allocations: 19.92 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.3467, allocations: 43.77 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.3469, allocations: 79.73 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3469, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.516e-06/0.3469, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3469, allocations: 3.938 kB / 1.029 GB, free: 15.98 MB / 0.8106 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.0006617/0.3476, allocations: 395.2 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3476, allocations: 12.03 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.3477, allocations: 8.844 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.3479, allocations: 180.2 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3479, allocations: 4.375 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3479, allocations: 8.375 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.3482, allocations: 104.6 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3482, allocations: 3.984 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3483, allocations: 4 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3483, allocations: 0 / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.3486, allocations: 103.9 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.3492, allocations: 336.6 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006662/0.3499, allocations: 122.6 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.3501, allocations: 64.8 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3501, allocations: 0 / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.3502, allocations: 34.5 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3502, allocations: 3.938 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007386/0.351, allocations: 185.5 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.351, allocations: 51.41 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3512, allocations: 125.8 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.3512, allocations: 25.7 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.3513, allocations: 96.05 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.3513, allocations: 23.73 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.3514, allocations: 21.7 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3516, allocations: 322.8 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3518, allocations: 47.89 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.3519, allocations: 43.95 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.3523, allocations: 109.2 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3523, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003826/0.3527, allocations: 129.5 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.3527, allocations: 6.188 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3528, allocations: 7.984 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.3528, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.353, allocations: 27.97 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.353, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3531, allocations: 15.92 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3532, allocations: 8 kB / 1.031 GB, free: 13.18 MB / 0.8106 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 0.0001466/0.3533, allocations: 121.7 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.3534, allocations: 7.906 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.3534, allocations: 16.36 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3534, allocations: 0 / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3534, allocations: 0 / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3534, allocations: 3.938 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.3537, allocations: 205.5 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3537, allocations: 0 / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.3539, allocations: 27.97 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3539, allocations: 0 / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3539, allocations: 0 / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3539, allocations: 4 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3539, allocations: 4 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.3544, allocations: 235.2 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.3545, allocations: 81.02 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3545, allocations: 4 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3546, allocations: 19.97 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.3547, allocations: 19.98 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.3548, allocations: 3.938 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.17e-05/0.3548, allocations: 95.27 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.593e-06/0.3548, allocations: 0 / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002481/0.3551, allocations: 23.88 kB / 1.032 GB, free: 12.23 MB / 0.8106 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.0001886/0.3553, allocations: 99.23 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004458/0.3557, allocations: 115.8 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3558, allocations: 0 / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.356, allocations: 55.94 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.3564, allocations: 8.125 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.3569, allocations: 178.2 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.3572, allocations: 0.6885 MB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.369e-05/0.3573, allocations: 12 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.3573, allocations: 19.42 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3574, allocations: 0 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of Templates: time 0.004352/0.3617, allocations: 1.584 MB / 1.035 GB, free: 9.43 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches