Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_10_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.008124/0.008124, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.00216/0.00216, allocations: 190.4 kB / 16.67 MB, free: 5.922 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.89 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9957/0.9971, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002129/0.9992, allocations: 0.7694 MB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001079/1, allocations: 0.8764 MB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/1, allocations: 0 / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.139e-05/1, allocations: 7.922 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/1.001, allocations: 7.875 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/1.001, allocations: 43.94 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/1.001, allocations: 87.77 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/1.001, allocations: 19.98 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/1.001, allocations: 43.83 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/1.001, allocations: 47.83 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/1.001, allocations: 12 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/1.001, allocations: 8 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/1.001, allocations: 23.84 kB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/1.001, allocations: 31.86 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/1.002, allocations: 90.33 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.002, allocations: 0 / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.793e-06/1.002, allocations: 0 / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.002, allocations: 0 / 1.168 GB, free: 1.684 MB / 0.8887 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.0006819/1.002, allocations: 400 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.002, allocations: 12.92 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/1.002, allocations: 34.75 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/1.002, allocations: 8.891 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/1.003, allocations: 180.2 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/1.003, allocations: 8.375 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/1.003, allocations: 8.125 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/1.003, allocations: 105.6 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.003, allocations: 0 / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/1.003, allocations: 8 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.003, allocations: 0 / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/1.003, allocations: 91.91 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/1.004, allocations: 352.6 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005955/1.005, allocations: 118.6 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/1.005, allocations: 56.81 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/1.005, allocations: 0 / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/1.005, allocations: 42.5 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 2.776e-06/1.005, allocations: 4 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0006657/1.006, allocations: 185.4 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.006, allocations: 51.41 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/1.006, allocations: 129.7 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/1.006, allocations: 33.7 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/1.006, allocations: 88.09 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/1.006, allocations: 27.78 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/1.006, allocations: 21.72 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.006, allocations: 318.8 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/1.006, allocations: 43.95 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/1.006, allocations: 51.95 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/1.007, allocations: 100.7 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.007, allocations: 0 / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004174/1.007, allocations: 141.5 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.007, allocations: 4 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.007, allocations: 4 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.007, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/1.007, allocations: 23.97 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.007, allocations: 3.938 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/1.008, allocations: 15.97 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/1.008, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 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.000114/1.008, allocations: 121.8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/1.008, allocations: 7.953 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/1.008, allocations: 16.36 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.008, allocations: 7.984 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.008, allocations: 7.875 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.008, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/1.008, allocations: 189.6 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.008, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/1.008, allocations: 23.97 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.008, allocations: 15.92 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/1.008, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.008, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.008, allocations: 3.938 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/1.009, allocations: 243.9 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/1.009, allocations: 85.06 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/1.009, allocations: 0 / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/1.009, allocations: 11.98 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/1.009, allocations: 23.91 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/1.009, allocations: 4 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.838e-05/1.009, allocations: 95.27 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/1.009, allocations: 0 / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002348/1.009, allocations: 15.94 kB / 1.172 GB, free: 13.88 MB / 0.9044 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.0007509/1.01, allocations: 0.7748 MB / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004188/1.011, allocations: 107.9 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.011, allocations: 0 / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/1.011, allocations: 59.89 kB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/1.011, allocations: 15.92 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/1.013, allocations: 1.536 MB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/1.013, allocations: 0.6885 MB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.208e-05/1.013, allocations: 15.98 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.695e-05/1.014, allocations: 31.42 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/1.014, allocations: 4 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/1.035, allocations: 2.692 MB / 1.177 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/8.828, allocations: 14.52 kB / 1.177 GB, free: 7.914 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches