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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009402/0.0009402, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009096/0.009095, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004275, allocations: 16 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.505, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.0008503/0.5059, allocations: 497.8 kB / 0.9557 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008467/0.5068, allocations: 0.8601 MB / 0.9565 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.5068, allocations: 1.25 kB / 0.9565 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.5069, allocations: 7.922 kB / 0.9565 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/0.507, allocations: 4.969 kB / 0.9565 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.5071, allocations: 34.97 kB / 0.9566 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.5072, allocations: 82.22 kB / 0.9566 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.5073, allocations: 21.22 kB / 0.9567 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.5074, allocations: 33.09 kB / 0.9567 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.462e-05/0.5075, allocations: 47.09 kB / 0.9567 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.5075, allocations: 3.438 kB / 0.9567 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.624e-05/0.5076, allocations: 3.656 kB / 0.9567 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.5076, allocations: 10.39 kB / 0.9567 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.5077, allocations: 59.39 kB / 0.9568 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.862e-05/0.5078, allocations: 78.64 kB / 0.9569 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5078, allocations: 0 / 0.9569 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5078, allocations: 5.406 kB / 0.9569 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.5078, allocations: 0 / 0.9569 GB, free: 6.383 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.0005823/0.5084, allocations: 386.8 kB / 0.9572 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5084, allocations: 10.38 kB / 0.9573 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.5085, allocations: 31.72 kB / 0.9573 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.5085, allocations: 13.16 kB / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.456e-05/0.5086, allocations: 190.2 kB / 0.9575 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.5086, allocations: 1.375 kB / 0.9575 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.5087, allocations: 8.938 kB / 0.9575 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.5091, allocations: 113.5 kB / 0.9576 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5091, allocations: 4.906 kB / 0.9576 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.5091, allocations: 0 / 0.9576 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5091, allocations: 1.844 kB / 0.9576 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.5096, allocations: 124 kB / 0.9577 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.5102, allocations: 342.2 kB / 0.9581 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007885/0.511, allocations: 132.1 kB / 0.9582 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.5113, allocations: 76.61 kB / 0.9583 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5113, allocations: 0 / 0.9583 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.5113, allocations: 36.28 kB / 0.9583 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.5113, allocations: 0 / 0.9583 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0008583/0.5122, allocations: 220.2 kB / 0.9585 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.649e-05/0.5122, allocations: 52.78 kB / 0.9585 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.5123, allocations: 130.2 kB / 0.9587 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.5123, allocations: 25.7 kB / 0.9587 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.5123, allocations: 98.75 kB / 0.9588 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.5123, allocations: 22.47 kB / 0.9588 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.5124, allocations: 16.47 kB / 0.9588 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.237e-05/0.5124, allocations: 325.6 kB / 0.9591 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.5126, allocations: 52.64 kB / 0.9592 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.5128, allocations: 58.92 kB / 0.9592 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.5131, allocations: 120.7 kB / 0.9594 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5131, allocations: 1.531 kB / 0.9594 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003749/0.5135, allocations: 158.4 kB / 0.9595 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.5135, allocations: 10.91 kB / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.5135, allocations: 0 / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.5135, allocations: 1.312 kB / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.5137, allocations: 32.03 kB / 0.9596 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.5137, allocations: 1.375 kB / 0.9596 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.5138, allocations: 20.58 kB / 0.9596 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5138, allocations: 5.141 kB / 0.9596 GB, free: 4.094 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 5.203e-05/0.5139, allocations: 116.9 kB / 0.9597 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.5139, allocations: 7.25 kB / 0.9597 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.5139, allocations: 18.47 kB / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5139, allocations: 0.9375 kB / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5139, allocations: 0 / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5139, allocations: 4.969 kB / 0.9597 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.5141, allocations: 198.7 kB / 0.9599 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5141, allocations: 5.047 kB / 0.9599 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.5142, allocations: 29.06 kB / 0.9599 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5142, allocations: 0 / 0.9599 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.5143, allocations: 5.688 kB / 0.9599 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5143, allocations: 0 / 0.9599 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5143, allocations: 9.234 kB / 0.96 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.5147, allocations: 254.6 kB / 0.9602 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.5147, allocations: 90.38 kB / 0.9603 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.5147, allocations: 1.375 kB / 0.9603 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.5149, allocations: 20.36 kB / 0.9603 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.5149, allocations: 25.41 kB / 0.9603 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.5149, allocations: 2.75 kB / 0.9603 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.95e-05/0.515, allocations: 92.89 kB / 0.9604 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.515, allocations: 1.375 kB / 0.9604 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000212/0.5152, allocations: 14.94 kB / 0.9604 GB, free: 3.293 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.0005259/0.5157, allocations: 0.8044 MB / 0.9612 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.5161, allocations: 128.9 kB / 0.9613 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.5161, allocations: 0 / 0.9613 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.5163, allocations: 69.12 kB / 0.9614 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.5165, allocations: 23.92 kB / 0.9614 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.5181, allocations: 1.603 MB / 0.963 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.122e-05/0.5182, allocations: 0.6945 MB / 0.9637 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.28e-05/0.5183, allocations: 10.41 kB / 0.9637 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.5184, allocations: 24.61 kB / 0.9637 GB, free: 336 kB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5184, allocations: 0 / 0.9637 GB, free: 336 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05723/0.5756, allocations: 2.264 MB / 0.9659 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.5758, allocations: 202.4 kB / 0.9661 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.615, allocations: 0 / 0.9661 GB, free: 14.99 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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