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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_9_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.001488/0.001488, 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.001846/0.001846, allocations: 192.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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.442/2.442, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 59.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.807, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001947/0.809, allocations: 0.7738 MB / 0.9505 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007972/0.8098, allocations: 0.8644 MB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.8099, allocations: 1.375 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.8099, allocations: 7.875 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.104e-05/0.81, allocations: 3.938 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.8102, allocations: 46.75 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.727e-05/0.8103, allocations: 83.48 kB / 0.9515 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.8104, allocations: 30.97 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.157e-05/0.8105, allocations: 40.16 kB / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.8106, allocations: 48.7 kB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.8106, allocations: 11.77 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.8106, allocations: 8.875 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.8107, allocations: 14.23 kB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.8107, allocations: 37.92 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.8108, allocations: 83.81 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.8108, allocations: 0 / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8108, allocations: 0 / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.8108, allocations: 0 / 0.9517 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.0005604/0.8114, allocations: 393.8 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.8115, allocations: 10 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.8115, allocations: 36.19 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.8115, allocations: 16.91 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.874e-05/0.8116, allocations: 184.7 kB / 0.9523 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.8117, allocations: 8.188 kB / 0.9523 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.8117, allocations: 4.156 kB / 0.9523 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.812, allocations: 107.7 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.812, allocations: 0 / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.812, allocations: 4 kB / 0.9525 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.812, allocations: 2.562 kB / 0.9525 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/0.8124, allocations: 99.3 kB / 0.9526 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.8128, allocations: 355.7 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.8135, allocations: 118 kB / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.8137, allocations: 57.88 kB / 0.9531 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.8137, allocations: 3.938 kB / 0.9531 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.8137, allocations: 40.08 kB / 0.9531 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.8137, allocations: 0 / 0.9531 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006456/0.8144, allocations: 176.6 kB / 0.9533 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.8144, allocations: 55.41 kB / 0.9533 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.8145, allocations: 134.5 kB / 0.9535 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.8145, allocations: 29.7 kB / 0.9535 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.8146, allocations: 92.06 kB / 0.9536 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.8146, allocations: 25.92 kB / 0.9536 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.8146, allocations: 19.88 kB / 0.9536 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.8147, allocations: 321 kB / 0.9539 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.8149, allocations: 43.77 kB / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.8151, allocations: 52.02 kB / 0.954 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.8154, allocations: 98.05 kB / 0.9541 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8154, allocations: 5.25 kB / 0.9541 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003997/0.8158, allocations: 143.6 kB / 0.9542 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.8158, allocations: 5.625 kB / 0.9542 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.8159, allocations: 0 / 0.9542 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8159, allocations: 0 / 0.9542 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.816, allocations: 24.28 kB / 0.9543 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.8161, allocations: 5.438 kB / 0.9543 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.8162, allocations: 18.94 kB / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.8162, allocations: 1.469 kB / 0.9543 GB, free: 5.242 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,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 6.484e-05/0.8163, allocations: 117.9 kB / 0.9544 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.8163, allocations: 6.594 kB / 0.9544 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.8163, allocations: 17.61 kB / 0.9544 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.8163, allocations: 1.188 kB / 0.9544 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8163, allocations: 1.188 kB / 0.9544 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8164, allocations: 3.938 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.8165, allocations: 191 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8165, allocations: 1.469 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.8167, allocations: 27.06 kB / 0.9546 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8167, allocations: 5.266 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.8167, allocations: 1.156 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8167, allocations: 0 / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8167, allocations: 1.281 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.8172, allocations: 242.2 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.8172, allocations: 84.3 kB / 0.955 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.8172, allocations: 0 / 0.955 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.8174, allocations: 11.08 kB / 0.955 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.8175, allocations: 30.31 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.8175, allocations: 2.094 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.862e-05/0.8175, allocations: 97.59 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8175, allocations: 0 / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002391/0.8178, allocations: 24.31 kB / 0.9551 GB, free: 4.445 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 (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.0006137/0.8184, allocations: 0.769 MB / 0.9559 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.8188, allocations: 109.9 kB / 0.956 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8188, allocations: 3.938 kB / 0.956 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.8191, allocations: 63.38 kB / 0.956 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.8194, allocations: 18.78 kB / 0.9561 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.8212, allocations: 1.525 MB / 0.9576 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.8213, allocations: 0.6956 MB / 0.9582 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.728e-05/0.8213, allocations: 11.16 kB / 0.9582 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.8214, allocations: 30.44 kB / 0.9583 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.8214, allocations: 0 / 0.9583 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.8416, allocations: 2.661 MB / 0.9609 GB, free: 120 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.565, allocations: 5.359 kB / 0.9609 GB, free: 120 kB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv","/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