Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_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_9_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.001503/0.001503, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 196.2 kB / 16.79 MB, free: 6.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.451/1.451, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.443/2.443, allocations: 390.2 MB / 0.6649 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.89 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6085/0.6099, allocations: 140.3 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002665/0.6126, allocations: 0.8378 MB / 0.9504 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.6137, allocations: 0.8616 MB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.6138, allocations: 0 / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.028e-05/0.6138, allocations: 3.938 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.614, allocations: 9.922 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.6142, allocations: 33.94 kB / 0.9513 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.6143, allocations: 77.92 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.6145, allocations: 25.67 kB / 0.9514 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.6146, allocations: 37.84 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.6147, allocations: 51.78 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.6148, allocations: 5.031 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.498e-05/0.6148, allocations: 6.219 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.6148, allocations: 9.797 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.6149, allocations: 33.78 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.615, allocations: 60.12 kB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.615, allocations: 0 / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.615, allocations: 1.281 kB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.615, allocations: 0 / 0.9516 GB, free: 7.543 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007275/0.6158, allocations: 396.9 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.6158, allocations: 9.062 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.6159, allocations: 8.719 kB / 0.952 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.616, allocations: 181.8 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.6161, allocations: 19.12 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.6161, allocations: 4.719 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.6165, allocations: 108 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6165, allocations: 0 / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.6166, allocations: 0 / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.6166, allocations: 1.375 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.6171, allocations: 100.2 kB / 0.9524 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.6177, allocations: 347 kB / 0.9527 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008263/0.6186, allocations: 122.8 kB / 0.9528 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.6188, allocations: 56.44 kB / 0.9529 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.6188, allocations: 5.484 kB / 0.9529 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.6189, allocations: 32.12 kB / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.986e-06/0.6189, allocations: 4 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0008432/0.6197, allocations: 179.7 kB / 0.9531 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.6198, allocations: 56.75 kB / 0.9532 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.6199, allocations: 133.6 kB / 0.9533 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.6199, allocations: 25.7 kB / 0.9533 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.62, allocations: 96.19 kB / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.62, allocations: 21 kB / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.6201, allocations: 24.48 kB / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.6201, allocations: 324 kB / 0.9537 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.6204, allocations: 44.11 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.6206, allocations: 49.36 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.6211, allocations: 105.6 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6211, allocations: 0 / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005185/0.6216, allocations: 131.5 kB / 0.9541 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.6216, allocations: 9.562 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6216, allocations: 0 / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.6217, allocations: 1.406 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.6219, allocations: 28.09 kB / 0.9541 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.6219, allocations: 0 / 0.9541 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.6221, allocations: 19.5 kB / 0.9541 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.6221, allocations: 6.281 kB / 0.9541 GB, free: 5.289 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: 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.319e-05/0.6222, allocations: 121 kB / 0.9542 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.6222, allocations: 7.625 kB / 0.9542 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.6223, allocations: 9.688 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6223, allocations: 0 / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6223, allocations: 5.203 kB / 0.9543 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-06/0.6223, allocations: 3.938 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.6225, allocations: 195.6 kB / 0.9545 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6226, allocations: 1.125 kB / 0.9545 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.6228, allocations: 23.53 kB / 0.9545 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.6228, allocations: 1.156 kB / 0.9545 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.6228, allocations: 9.016 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6228, allocations: 0 / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6228, allocations: 1.375 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.6234, allocations: 242.6 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.6235, allocations: 78.42 kB / 0.9548 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.6235, allocations: 9.406 kB / 0.9548 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.6237, allocations: 11.2 kB / 0.9548 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-05/0.6238, allocations: 18 kB / 0.9548 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.6238, allocations: 10.25 kB / 0.9548 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.711e-05/0.6239, allocations: 93.55 kB / 0.9549 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6239, allocations: 0 / 0.9549 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000367/0.6243, allocations: 20.84 kB / 0.9549 GB, free: 4.496 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: 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.000151/0.6244, allocations: 108.5 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.625, allocations: 101.8 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.625, allocations: 0 / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.6253, allocations: 60.61 kB / 0.9552 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.6257, allocations: 16.92 kB / 0.9552 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.6263, allocations: 214.9 kB / 0.9554 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.6265, allocations: 0.6907 MB / 0.9561 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-05/0.6266, allocations: 21.47 kB / 0.9561 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/0.6266, allocations: 0 / 0.9561 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of Templates: time 0.003582/0.6302, allocations: 1.224 MB / 0.9573 GB, free: 2.762 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches