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.0133/0.0133, allocations: 102.1 kB / 15.73 MB, free: 6.051 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.003112/0.003113, allocations: 196.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.138/2.138, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.022/4.022, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002567/0.002568, allocations: 59.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376/1.378, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.003622/1.382, allocations: 0.7736 MB / 1.088 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001675/1.384, allocations: 0.8584 MB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/1.384, allocations: 2.062 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.97e-05/1.384, allocations: 9.281 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/1.384, allocations: 5.734 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/1.384, allocations: 45.83 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/1.384, allocations: 83.31 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/1.385, allocations: 30.5 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/1.385, allocations: 38.91 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/1.385, allocations: 46.09 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/1.385, allocations: 8.094 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.957e-05/1.385, allocations: 7.719 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/1.385, allocations: 22.84 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.657e-05/1.385, allocations: 35.12 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/1.385, allocations: 87.33 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.385, allocations: 4 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.434e-06/1.385, allocations: 0.9688 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.447e-06/1.385, allocations: 0 / 1.089 GB, free: 3.918 MB / 0.8575 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.000791/1.386, allocations: 390.3 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/1.386, allocations: 8.906 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/1.386, allocations: 42.05 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/1.386, allocations: 9.188 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/1.387, allocations: 178.9 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/1.387, allocations: 11.38 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/1.387, allocations: 8.219 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/1.387, allocations: 103.9 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.387, allocations: 1.062 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/1.387, allocations: 4.797 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/1.387, allocations: 2.219 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/1.388, allocations: 104.5 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/1.388, allocations: 345.3 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009673/1.389, allocations: 122.2 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/1.39, allocations: 62.39 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/1.39, allocations: 5.328 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/1.39, allocations: 31.72 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.415e-06/1.39, allocations: 0 / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001112/1.391, allocations: 186.4 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/1.391, allocations: 53.83 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/1.391, allocations: 127 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/1.391, allocations: 30.52 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/1.391, allocations: 97.12 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/1.391, allocations: 15.58 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/1.391, allocations: 27.94 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.665e-05/1.392, allocations: 319.4 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/1.392, allocations: 47.12 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/1.392, allocations: 49.14 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/1.393, allocations: 100 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.393, allocations: 1.031 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006439/1.393, allocations: 141.1 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.393, allocations: 6.641 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.393, allocations: 0 / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/1.394, allocations: 0.625 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/1.394, allocations: 32.19 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.394, allocations: 4.938 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/1.394, allocations: 12.58 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/1.394, allocations: 6.828 kB / 1.092 GB, free: 1.906 MB / 0.8575 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 9.415e-05/1.394, allocations: 114.6 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/1.394, allocations: 6.875 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/1.394, allocations: 11.17 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.394, allocations: 4.75 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.394, allocations: 5.438 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.394, allocations: 0 / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/1.395, allocations: 199.3 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.395, allocations: 0 / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/1.395, allocations: 24.03 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.395, allocations: 0.9375 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/1.395, allocations: 2.125 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.395, allocations: 0.7812 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.395, allocations: 7.875 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/1.396, allocations: 239.5 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/1.396, allocations: 84 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/1.396, allocations: 0.9062 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/1.396, allocations: 12.27 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/1.396, allocations: 28.94 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/1.396, allocations: 2.859 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.253e-05/1.396, allocations: 97.28 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.764e-06/1.396, allocations: 0 / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003927/1.397, allocations: 20.25 kB / 1.093 GB, free: 1.188 MB / 0.8575 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.001024/1.398, allocations: 0.7697 MB / 1.094 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006054/1.398, allocations: 103.9 kB / 1.094 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.398, allocations: 0 / 1.094 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00027/1.399, allocations: 65.5 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/1.399, allocations: 13.03 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/1.401, allocations: 1.531 MB / 1.095 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/1.402, allocations: 0.6899 MB / 1.096 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.146e-05/1.402, allocations: 15.53 kB / 1.096 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.822e-05/1.402, allocations: 31.08 kB / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/1.402, allocations: 0 / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2309/1.633, allocations: 2.713 MB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/15.15, allocations: 11.05 kB / 1.099 GB, free: 13.99 MB / 0.8731 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