Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006629/0.006629, allocations: 97.39 kB / 15.73 MB, free: 6.488 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.001765/0.001765, allocations: 191.5 kB / 16.67 MB, free: 6.391 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.537/2.537, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2558, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001653/0.2575, allocations: 0.7811 MB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000867/0.2583, allocations: 0.8546 MB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.2584, allocations: 0 / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.2584, allocations: 11.86 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.2585, allocations: 15.86 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.2587, allocations: 43.89 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.2588, allocations: 83.88 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2589, allocations: 23.97 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.975e-05/0.2589, allocations: 43.84 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.259, allocations: 55.75 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.2591, allocations: 8 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.2591, allocations: 8 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.2591, allocations: 15.92 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.2592, allocations: 35.8 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.2593, allocations: 87.64 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2593, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2593, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2593, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 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.0005614/0.2599, allocations: 399.1 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2599, allocations: 12.03 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.26, allocations: 34.75 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.26, allocations: 8.891 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.2601, allocations: 180.2 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.2602, allocations: 8.375 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.2602, allocations: 8.125 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.2605, allocations: 105.6 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.2605, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2605, allocations: 4 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2605, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.2609, allocations: 99.83 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.2613, allocations: 348.6 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.2619, allocations: 118.6 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.2621, allocations: 56.81 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.2621, allocations: 7.922 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.2622, allocations: 38.55 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2622, allocations: 4 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006257/0.2628, allocations: 173.5 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.2628, allocations: 55.41 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.2629, allocations: 133.7 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.263, allocations: 29.7 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.263, allocations: 88.09 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.263, allocations: 23.84 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.2631, allocations: 25.7 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2632, allocations: 314.8 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.2634, allocations: 47.95 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.2636, allocations: 51.89 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.2639, allocations: 100.8 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2639, allocations: 0 / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004063/0.2644, allocations: 138 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2644, allocations: 5.719 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2644, allocations: 4 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.2644, allocations: 0 / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.2646, allocations: 23.97 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2646, allocations: 11.86 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2647, allocations: 19.92 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2647, allocations: 80 / 1.225 GB, free: 9.387 MB / 0.9825 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 8.621e-05/0.2648, allocations: 117.8 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.2648, allocations: 7.953 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.2649, allocations: 12.36 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2649, allocations: 3.938 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2649, allocations: 7.938 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.2649, allocations: 0 / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.2651, allocations: 197.6 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2651, allocations: 7.984 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.2653, allocations: 23.97 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2653, allocations: 0 / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2653, allocations: 4 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2653, allocations: 3.984 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2653, allocations: 3.938 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.2658, allocations: 235.3 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.2658, allocations: 89.06 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.2659, allocations: 3.938 kB / 1.225 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.266, allocations: 11.98 kB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.2661, allocations: 23.91 kB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.2661, allocations: 4 kB / 1.225 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.2661, allocations: 91.27 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2662, allocations: 4 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002101/0.2664, allocations: 16 kB / 1.226 GB, free: 8.434 MB / 0.9825 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.0007689/0.2671, allocations: 0.7753 MB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.2676, allocations: 99.89 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2676, allocations: 0 / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.2678, allocations: 67.88 kB / 1.226 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.2681, allocations: 19.88 kB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.27, allocations: 1.533 MB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.2703, allocations: 0.6924 MB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.2704, allocations: 12 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.2704, allocations: 31.42 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.2704, allocations: 0 / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.301/1.571, allocations: 2.718 MB / 1.231 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/11.89, allocations: 3.938 kB / 1.231 GB, free: 2.457 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches