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.001484/0.001484, allocations: 108 kB / 15.61 MB, free: 152 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.001475/0.001475, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.59/2.59, allocations: 469.8 MB / 0.7424 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00334/0.00334, allocations: 64.58 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2528, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001877/0.2547, allocations: 0.7749 MB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000919/0.2557, allocations: 0.8641 MB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.2557, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.2558, allocations: 7.922 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.2559, allocations: 7.875 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.256, allocations: 43.94 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.921e-05/0.2561, allocations: 75.83 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.2562, allocations: 31.94 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.2563, allocations: 43.83 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.2564, allocations: 47.83 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.2564, allocations: 8 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.2564, allocations: 8 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.2564, allocations: 23.91 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.2565, allocations: 43.72 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.2566, allocations: 79.73 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2566, allocations: 0 / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2566, allocations: 4 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.2566, allocations: 0 / 1.066 GB, free: 12.15 MB / 0.8262 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.0005576/0.2572, allocations: 391.5 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2572, allocations: 8.031 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.2573, allocations: 42.73 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.2573, allocations: 8.844 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2575, allocations: 172.2 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.2575, allocations: 4.375 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.2575, allocations: 12.38 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.2578, allocations: 111.2 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2578, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2578, allocations: 4 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2578, allocations: 0 / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.2582, allocations: 99.91 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.2587, allocations: 344.6 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.2592, allocations: 126.5 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.2594, allocations: 56.81 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.2594, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.2595, allocations: 30.56 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 7.51e-07/0.2595, allocations: 0 / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006204/0.2601, allocations: 197.4 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.2601, allocations: 51.41 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.2602, allocations: 129.7 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.2603, allocations: 29.7 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.2603, allocations: 99.97 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.2603, allocations: 19.81 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.2604, allocations: 21.7 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2605, allocations: 322.8 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.2607, allocations: 43.95 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.2609, allocations: 43.95 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.2612, allocations: 96.78 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2612, allocations: 0 / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003904/0.2616, allocations: 141.4 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2616, allocations: 7.938 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2616, allocations: 4 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2616, allocations: 0 / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2618, allocations: 27.97 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2618, allocations: 4 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2619, allocations: 11.92 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2619, allocations: 7.984 kB / 1.069 GB, free: 9.301 MB / 0.8262 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 8e-05/0.262, allocations: 113.8 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.2621, allocations: 7.906 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.2621, allocations: 12.38 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2621, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2621, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2621, allocations: 3.938 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.2623, allocations: 201.5 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2623, allocations: 3.938 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.2625, allocations: 27.97 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.2625, allocations: 7.984 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.2625, allocations: 0 / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2625, allocations: 8 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2625, allocations: 7.922 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.263, allocations: 231.3 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.263, allocations: 85 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.263, allocations: 8 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.2632, allocations: 11.98 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.2633, allocations: 27.91 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.2633, allocations: 0 / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.2633, allocations: 99.2 kB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2633, allocations: 0 / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002139/0.2636, allocations: 16 kB / 1.069 GB, free: 8.352 MB / 0.8262 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.0007626/0.2643, allocations: 0.7631 MB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.2647, allocations: 112.5 kB / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2647, allocations: 0 / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.2649, allocations: 59.95 kB / 1.07 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.2652, allocations: 13.81 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.2672, allocations: 1.538 MB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.2675, allocations: 0.6962 MB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.332e-05/0.2676, allocations: 8 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.2677, allocations: 35.42 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2677, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.865/2.133, allocations: 2.647 MB / 1.075 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.03/23.17, allocations: 22.45 kB / 1.075 GB, free: 2.414 MB / 0.8262 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