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.001426/0.001427, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001515/0.001515, allocations: 186.1 kB / 16.25 MB, free: 6.141 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.529/2.529, allocations: 390.3 MB / 0.6644 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.89 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.71/0.7114, allocations: 140.4 MB / 0.9493 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002075/0.7136, allocations: 0.8291 MB / 0.9501 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.7145, allocations: 0.8616 MB / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.7146, allocations: 1.531 kB / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.7146, allocations: 7.922 kB / 0.9509 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.359e-05/0.7148, allocations: 3.938 kB / 0.9509 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.7149, allocations: 39.39 kB / 0.951 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.715, allocations: 78.42 kB / 0.951 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.7152, allocations: 26.98 kB / 0.9511 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.879e-05/0.7153, allocations: 44.91 kB / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.643e-05/0.7153, allocations: 45.05 kB / 0.9511 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.7154, allocations: 7.938 kB / 0.9511 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.7154, allocations: 7.719 kB / 0.9512 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.7154, allocations: 23.16 kB / 0.9512 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.7155, allocations: 38.34 kB / 0.9512 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.7156, allocations: 79.14 kB / 0.9513 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7156, allocations: 0 / 0.9513 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7156, allocations: 4 kB / 0.9513 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7156, allocations: 0 / 0.9513 GB, free: 7.621 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.0006223/0.7162, allocations: 394.3 kB / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.7163, allocations: 8.688 kB / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.7163, allocations: 41.17 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.7164, allocations: 12.84 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.7165, allocations: 176.9 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.7165, allocations: 3.094 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.7166, allocations: 11.84 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.7169, allocations: 109.4 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7169, allocations: 0 / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.7169, allocations: 0 / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.7169, allocations: 1.438 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.7173, allocations: 99.84 kB / 0.9521 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.7178, allocations: 347.4 kB / 0.9524 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.7184, allocations: 121.8 kB / 0.9526 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.7186, allocations: 57.72 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.7187, allocations: 5.422 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.7187, allocations: 36.22 kB / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.7187, allocations: 0 / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006546/0.7194, allocations: 183.8 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.7194, allocations: 53.03 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.7195, allocations: 129.1 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.7195, allocations: 29.7 kB / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.7196, allocations: 98.7 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.7196, allocations: 26.41 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.7196, allocations: 23.95 kB / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.237e-05/0.7197, allocations: 320.6 kB / 0.9535 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.7199, allocations: 44.23 kB / 0.9535 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.7201, allocations: 48.73 kB / 0.9536 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.7204, allocations: 98.47 kB / 0.9537 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7204, allocations: 3.938 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003655/0.7208, allocations: 135.2 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.7208, allocations: 7.469 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7208, allocations: 4.547 kB / 0.9538 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.7208, allocations: 1.25 kB / 0.9538 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.721, allocations: 27 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.721, allocations: 5.156 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.7211, allocations: 19.39 kB / 0.9539 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.7211, allocations: 6.141 kB / 0.9539 GB, free: 5.32 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.807e-05/0.7212, allocations: 113.8 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.7213, allocations: 10.66 kB / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.7213, allocations: 9.562 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7213, allocations: 1.5 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7213, allocations: 0 / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7213, allocations: 3.938 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.7215, allocations: 196.2 kB / 0.9542 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7215, allocations: 0 / 0.9542 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.7216, allocations: 23.81 kB / 0.9542 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7216, allocations: 1.188 kB / 0.9542 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.7217, allocations: 5.219 kB / 0.9542 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7217, allocations: 4 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7217, allocations: 5.172 kB / 0.9542 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.7221, allocations: 239.1 kB / 0.9545 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.7221, allocations: 82.44 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.7221, allocations: 0.9062 kB / 0.9545 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.7223, allocations: 19.3 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.7224, allocations: 27.03 kB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.7224, allocations: 1.938 kB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.943e-05/0.7224, allocations: 93.33 kB / 0.9547 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7224, allocations: 0 / 0.9547 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002301/0.7227, allocations: 23.44 kB / 0.9547 GB, free: 4.527 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.0006638/0.7233, allocations: 0.7693 MB / 0.9554 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004185/0.7238, allocations: 110 kB / 0.9555 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7238, allocations: 7.875 kB / 0.9556 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.724, allocations: 63.83 kB / 0.9556 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.7244, allocations: 14.83 kB / 0.9556 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.7261, allocations: 1.54 MB / 0.9571 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.7263, allocations: 0.6987 MB / 0.9578 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.596e-05/0.7263, allocations: 10.75 kB / 0.9578 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.7264, allocations: 29.23 kB / 0.9579 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7264, allocations: 1.125 kB / 0.9579 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.361/2.087, allocations: 2.43 MB / 0.9602 GB, free: 380 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/2.087, allocations: 200.4 kB / 0.9604 GB, free: 124 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/4.083, allocations: 0 / 0.9604 GB, free: 124 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 & /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