Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_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.004568/0.004568, allocations: 98.44 kB / 15.73 MB, free: 5.605 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.00128/0.00128, allocations: 197.7 kB / 16.67 MB, free: 5.531 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.399/1.399, 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 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 75.88 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6896/0.6917, allocations: 159.1 MB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001949/0.6937, allocations: 0.6951 MB / 1.221 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.6947, allocations: 0.7962 MB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.6948, allocations: 0 / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.6948, allocations: 11.94 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.6949, allocations: 11.92 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.167e-05/0.695, allocations: 11.92 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.38e-05/0.6951, allocations: 43.84 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.6952, allocations: 12 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.012e-05/0.6953, allocations: 19.92 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.6953, allocations: 19.91 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.6953, allocations: 4 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.6953, allocations: 8 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.6954, allocations: 7.938 kB / 1.222 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.6954, allocations: 15.92 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.6955, allocations: 43.86 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6955, allocations: 0 / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6955, allocations: 3.938 kB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.6956, allocations: 0 / 1.222 GB, free: 280 kB / 0.9356 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.0005688/0.6961, allocations: 367 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6962, allocations: 20.02 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.6962, allocations: 30.75 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.6963, allocations: 8.891 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.6964, allocations: 164.3 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.6964, allocations: 12.36 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.6965, allocations: 384 / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.6967, allocations: 66.22 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6967, allocations: 3.938 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.6968, allocations: 7.984 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.6968, allocations: 4 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.6971, allocations: 55.94 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.6974, allocations: 276.9 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.6977, allocations: 62.47 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.6978, allocations: 40.92 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.6979, allocations: 0 / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.6979, allocations: 34.55 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.6979, allocations: 0 / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005487/0.6985, allocations: 129.5 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.6985, allocations: 55.41 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.6986, allocations: 109.8 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.6986, allocations: 25.7 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.6987, allocations: 100.1 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.6987, allocations: 7.906 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.6988, allocations: 17.72 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6989, allocations: 310.8 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.6991, allocations: 31.95 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.6992, allocations: 31.97 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.6995, allocations: 72.72 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6995, allocations: 3.938 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003421/0.6999, allocations: 97.56 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.6999, allocations: 4 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.6999, allocations: 8 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.6999, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.7001, allocations: 23.91 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.7001, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.7002, allocations: 15.94 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.7002, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 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 8.605e-05/0.7003, allocations: 113.8 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.7003, allocations: 4 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.7003, allocations: 11.91 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7003, allocations: 336 / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7003, allocations: 0 / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7003, allocations: 3.984 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.7005, allocations: 173.6 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7005, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.7006, allocations: 15.98 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7007, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.7007, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7007, allocations: 4 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7007, allocations: 0 / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.7011, allocations: 203.3 kB / 1.224 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.7011, allocations: 81.11 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.7012, allocations: 0 / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.7013, allocations: 15.98 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.7013, allocations: 3.984 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.7013, allocations: 0 / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.344e-05/0.7014, allocations: 91.27 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7014, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002282/0.7016, allocations: 4 kB / 1.225 GB, free: 13.07 MB / 0.9512 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.0007379/0.7024, allocations: 0.7362 MB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.7027, allocations: 75.92 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7027, allocations: 0 / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.7029, allocations: 35.95 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.7032, allocations: 8 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.7037, allocations: 162.9 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.704, allocations: 0.6883 MB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.704, allocations: 4 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.7041, allocations: 11.44 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.7041, allocations: 3.938 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.7255, allocations: 1.632 MB / 1.228 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/8.264, allocations: 7.875 kB / 1.228 GB, free: 9.715 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches