Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Subtract,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.009913/0.009913, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001537/0.001537, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.881/1.881, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.698/4.698, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003018/0.003018, allocations: 71.88 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5066, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002979/0.5096, allocations: 0.6932 MB / 1.167 GB, free: 6.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.5114, allocations: 0.8121 MB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.5115, allocations: 0 / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.238e-05/0.5116, allocations: 3.938 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.805e-05/0.5117, allocations: 7.922 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.425e-05/0.5118, allocations: 7.984 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.512, allocations: 51.84 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.5121, allocations: 8 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.5122, allocations: 27.86 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.138e-05/0.5123, allocations: 23.91 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.5124, allocations: 4 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.5124, allocations: 0 / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.5124, allocations: 8 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.5125, allocations: 23.86 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.5126, allocations: 44.08 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5127, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5127, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.5127, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008517/0.5135, allocations: 363.3 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.5136, allocations: 8.031 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.5137, allocations: 38.73 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.5137, allocations: 8.891 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.5139, allocations: 164.4 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.514, allocations: 384 / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.514, allocations: 384 / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.5144, allocations: 82.16 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.5145, allocations: 7.875 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5145, allocations: 0 / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.5145, allocations: 3.984 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.515, allocations: 63.92 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.5156, allocations: 276.8 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.516, allocations: 58.47 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.5163, allocations: 40.92 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.5163, allocations: 0 / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.5164, allocations: 34.56 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.934e-06/0.5164, allocations: 4 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0009458/0.5173, allocations: 125.6 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.5174, allocations: 51.41 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.5176, allocations: 113.8 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.5176, allocations: 25.7 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.5177, allocations: 88.08 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.5178, allocations: 15.89 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.5179, allocations: 13.72 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003216/0.5182, allocations: 314.8 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.5185, allocations: 31.95 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.5188, allocations: 35.97 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.5193, allocations: 68.72 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.5193, allocations: 4 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000534/0.5198, allocations: 97.56 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.5199, allocations: 8 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5199, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5199, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.5201, allocations: 19.92 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.5202, allocations: 3.984 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.5203, allocations: 7.984 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.5203, allocations: 4.312 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.000145/0.5205, allocations: 117.8 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.5205, allocations: 7.953 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.5206, allocations: 3.906 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5206, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5206, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5206, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.521, allocations: 181.5 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.521, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.5212, allocations: 19.98 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.5212, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5212, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5212, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5212, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/0.522, allocations: 211.7 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.5221, allocations: 81.06 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.5221, allocations: 4 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.5223, allocations: 11.98 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.5224, allocations: 7.984 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.5224, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.316e-05/0.5225, allocations: 91.27 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5225, allocations: 0 / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004322/0.523, allocations: 11.94 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.001259/0.5242, allocations: 0.7319 MB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006259/0.5249, allocations: 71.86 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5249, allocations: 0 / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.5252, allocations: 39.95 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.5257, allocations: 4 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/0.5265, allocations: 151.1 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.527, allocations: 0.6845 MB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.651e-05/0.5271, allocations: 0 / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.5272, allocations: 11.44 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of SimCode: time 5.71e-07/0.5272, allocations: 0 / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.5643, allocations: 1.632 MB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.13, allocations: 6.703 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches