Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 106.7 kB / 15.98 MB, free: 6.355 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.001814/0.001814, allocations: 192.6 kB / 16.91 MB, free: 6.188 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 66.78 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2807, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002473/0.2832, allocations: 0.8401 MB / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2846, allocations: 0.8585 MB / 0.9514 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.2847, allocations: 4 kB / 0.9514 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.2847, allocations: 3.938 kB / 0.9514 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.91e-05/0.2849, allocations: 7.922 kB / 0.9515 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.2851, allocations: 39.95 kB / 0.9515 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.2852, allocations: 79.78 kB / 0.9516 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.2854, allocations: 31.97 kB / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.2855, allocations: 39.84 kB / 0.9516 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2856, allocations: 43.83 kB / 0.9517 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.2857, allocations: 8 kB / 0.9517 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.997e-05/0.2857, allocations: 8 kB / 0.9517 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.2857, allocations: 19.97 kB / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.2858, allocations: 39.8 kB / 0.9517 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.2859, allocations: 59.86 kB / 0.9518 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2859, allocations: 0 / 0.9518 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.156e-06/0.286, allocations: 0 / 0.9518 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.286, allocations: 0 / 0.9518 GB, free: 7.117 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.0007799/0.2868, allocations: 395.4 kB / 0.9522 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.2868, allocations: 12.03 kB / 0.9522 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.2869, allocations: 12.84 kB / 0.9522 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.2871, allocations: 188.1 kB / 0.9524 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.2871, allocations: 384 / 0.9524 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.2872, allocations: 8.375 kB / 0.9524 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.2875, allocations: 105.7 kB / 0.9525 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2876, allocations: 0 / 0.9525 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2876, allocations: 0 / 0.9525 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.2876, allocations: 4 kB / 0.9525 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.288, allocations: 107.8 kB / 0.9526 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/0.2887, allocations: 332.7 kB / 0.9529 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.2894, allocations: 126.5 kB / 0.953 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.2896, allocations: 56.81 kB / 0.9531 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.2896, allocations: 4 kB / 0.9531 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2897, allocations: 34.55 kB / 0.9531 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.2897, allocations: 7.938 kB / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006568/0.2903, allocations: 185.4 kB / 0.9533 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.2904, allocations: 51.41 kB / 0.9534 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.2905, allocations: 121.8 kB / 0.9535 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2905, allocations: 33.64 kB / 0.9535 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.2906, allocations: 100 kB / 0.9536 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.2907, allocations: 19.73 kB / 0.9536 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.2908, allocations: 21.72 kB / 0.9536 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2909, allocations: 322.8 kB / 0.954 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.2911, allocations: 43.95 kB / 0.954 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.2913, allocations: 51.95 kB / 0.954 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.2919, allocations: 92.77 kB / 0.9541 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.2919, allocations: 0 / 0.9541 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004865/0.2924, allocations: 142 kB / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.2924, allocations: 7.938 kB / 0.9543 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2924, allocations: 0 / 0.9543 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.2924, allocations: 0 / 0.9543 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.2927, allocations: 27.91 kB / 0.9543 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.2927, allocations: 8.047 kB / 0.9543 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.2928, allocations: 19.92 kB / 0.9543 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2928, allocations: 4 kB / 0.9543 GB, free: 4.301 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,sub.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.0001326/0.293, allocations: 119.8 kB / 0.9544 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.293, allocations: 3.906 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.2931, allocations: 16.36 kB / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2931, allocations: 0 / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2931, allocations: 0 / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2931, allocations: 3.938 kB / 0.9545 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.2934, allocations: 201.5 kB / 0.9547 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2934, allocations: 0 / 0.9547 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.2936, allocations: 23.97 kB / 0.9547 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2936, allocations: 7.984 kB / 0.9547 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2936, allocations: 4 kB / 0.9547 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2936, allocations: 0 / 0.9547 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/0.2936, allocations: 7.938 kB / 0.9547 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.2941, allocations: 227.3 kB / 0.9549 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.2942, allocations: 89.02 kB / 0.955 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.2942, allocations: 0 / 0.955 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.2944, allocations: 15.98 kB / 0.955 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2945, allocations: 23.97 kB / 0.955 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2945, allocations: 3.938 kB / 0.955 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.178e-05/0.2946, allocations: 95.7 kB / 0.9551 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2946, allocations: 0 / 0.9551 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002402/0.2949, allocations: 15.94 kB / 0.9552 GB, free: 3.367 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 (sub.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.0001769/0.2951, allocations: 103.2 kB / 0.9553 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.2955, allocations: 115.9 kB / 0.9554 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2955, allocations: 4 kB / 0.9554 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.2958, allocations: 55.89 kB / 0.9554 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.2962, allocations: 20.25 kB / 0.9554 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.2968, allocations: 212 kB / 0.9556 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.2972, allocations: 0.6961 MB / 0.9563 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.2973, allocations: 19.42 kB / 0.9563 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.2973, allocations: 0 / 0.9563 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of Templates: time 0.003114/0.3004, allocations: 1.236 MB / 0.9575 GB, free: 0.8477 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches