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.001121/0.001121, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001199/0.001199, allocations: 194.4 kB / 16.26 MB, free: 6.625 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.527 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 2.505/2.505, allocations: 437 MB / 0.7101 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 71.91 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6515/0.6531, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.0019/0.655, allocations: 0.7707 MB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000786/0.6558, allocations: 0.8001 MB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.6559, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.6559, allocations: 3.938 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.656, allocations: 3.984 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.814e-05/0.6561, allocations: 15.98 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.6562, allocations: 47.78 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.6563, allocations: 12 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.551e-05/0.6564, allocations: 15.98 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.6564, allocations: 19.92 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.6564, allocations: 7.938 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-06/0.6564, allocations: 4 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.6565, allocations: 11.92 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.6565, allocations: 11.94 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.741e-05/0.6566, allocations: 47.8 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6566, allocations: 3.984 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6566, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.6566, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 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.0004935/0.6571, allocations: 369.5 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6572, allocations: 8.031 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.6572, allocations: 34.75 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.6572, allocations: 0.9375 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.6574, allocations: 176.2 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.6574, allocations: 384 / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-06/0.6574, allocations: 384 / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.6576, allocations: 78.22 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.6577, allocations: 3.938 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.6577, allocations: 0 / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.6577, allocations: 0 / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.6579, allocations: 63.92 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.6583, allocations: 276.8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.6585, allocations: 54.55 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.6586, allocations: 40.91 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.6587, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.6587, allocations: 34.56 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.6587, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004995/0.6592, allocations: 137.4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.6593, allocations: 55.41 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/0.6593, allocations: 105.8 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.6594, allocations: 29.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.6594, allocations: 84.14 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.6594, allocations: 7.844 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.6595, allocations: 13.72 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.287e-05/0.6596, allocations: 318.8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.6597, allocations: 35.97 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.6599, allocations: 31.95 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.6601, allocations: 72.72 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6601, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002816/0.6604, allocations: 105.5 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.6604, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.6604, allocations: 3.938 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6604, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.6606, allocations: 15.98 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6606, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.6607, allocations: 19.92 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.6607, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 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 7.22e-05/0.6607, allocations: 118.3 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.6608, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.6608, allocations: 7.906 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6608, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6608, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6608, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.661, allocations: 169.5 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.661, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.6611, allocations: 19.97 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.6611, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.6611, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6611, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6611, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.6615, allocations: 195.7 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.6615, allocations: 81.14 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.6615, allocations: 7.984 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.6616, allocations: 15.98 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.6617, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.6617, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.6617, allocations: 87.27 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6617, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002129/0.6619, allocations: 12 kB / 1.021 GB, free: 13.77 MB / 0.7794 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.0006381/0.6626, allocations: 0.7318 MB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.6629, allocations: 71.92 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6629, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.6631, allocations: 31.97 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.6634, allocations: 11.98 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.6638, allocations: 167.2 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.664, allocations: 0.6846 MB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.6641, allocations: 3.938 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.6641, allocations: 15.44 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.6641, allocations: 4 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.6749, allocations: 1.414 MB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.6751, allocations: 201 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.306, allocations: 3.938 kB / 1.025 GB, free: 10.4 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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