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.007806/0.007806, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001752/0.001752, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001574, allocations: 67.88 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9458/0.9474, allocations: 151.6 MB / 1.166 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002265/0.9497, allocations: 0.7042 MB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.9508, allocations: 0.8039 MB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.9509, allocations: 4 kB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.9509, allocations: 0 / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.25e-05/0.951, allocations: 11.88 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.39e-05/0.9511, allocations: 7.984 kB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.686e-05/0.9512, allocations: 43.91 kB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.9513, allocations: 16 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.9514, allocations: 19.92 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.9515, allocations: 15.92 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.9515, allocations: 4 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.9515, allocations: 4 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.9516, allocations: 19.91 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.9516, allocations: 11.92 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.727e-05/0.9517, allocations: 39.88 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9517, allocations: 4 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.467e-06/0.9517, allocations: 4 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.9518, allocations: 3.938 kB / 1.168 GB, free: 2.125 MB / 0.8887 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.0005528/0.9523, allocations: 369.5 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.9524, allocations: 8.922 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.9524, allocations: 30.75 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.9525, allocations: 8.844 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.9526, allocations: 172.3 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.9526, allocations: 8.375 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.9526, allocations: 384 / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.9529, allocations: 66.22 kB / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.9529, allocations: 3.938 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.9529, allocations: 8 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.953, allocations: 0 / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.9532, allocations: 71.86 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.9537, allocations: 264.9 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.9539, allocations: 54.53 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.954, allocations: 44.92 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.954, allocations: 0 / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.9541, allocations: 30.56 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.9541, allocations: 0 / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005334/0.9546, allocations: 133.5 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.9547, allocations: 55.41 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.265e-05/0.9548, allocations: 109.8 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.9548, allocations: 25.7 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.9548, allocations: 94.48 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.9549, allocations: 15.83 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.9549, allocations: 13.72 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.955, allocations: 310.8 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.9552, allocations: 31.97 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.9553, allocations: 35.95 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.9556, allocations: 72.94 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9556, allocations: 4 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002986/0.9559, allocations: 101.6 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.9559, allocations: 8 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.9559, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.9559, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.9561, allocations: 11.98 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.9561, allocations: 11.94 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.193e-05/0.9562, allocations: 11.97 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.9562, allocations: 4 kB / 1.17 GB, free: 15.75 MB / 0.9044 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.556e-05/0.9563, allocations: 109.8 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.9563, allocations: 7.906 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.9564, allocations: 7.906 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.9564, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9564, allocations: 3.938 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.9564, allocations: 7.938 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.9566, allocations: 173.6 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9566, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-05/0.9567, allocations: 15.98 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.9567, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.9567, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9567, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.9567, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.9571, allocations: 199.4 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.9571, allocations: 85.02 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.9572, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.9573, allocations: 15.98 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.9573, allocations: 3.984 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.9573, allocations: 0 / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.9574, allocations: 91.28 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.773e-06/0.9574, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002325/0.9576, allocations: 11.94 kB / 1.171 GB, free: 14.93 MB / 0.9044 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.0007926/0.9584, allocations: 0.728 MB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.9588, allocations: 67.92 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9588, allocations: 0 / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.959, allocations: 43.89 kB / 1.171 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.9594, allocations: 4 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.96, allocations: 163 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.9603, allocations: 0.6807 MB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.9603, allocations: 0 / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.9604, allocations: 11.44 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.285e-06/0.9604, allocations: 4 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.9807, allocations: 1.628 MB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/8.473, allocations: 14.02 kB / 1.174 GB, free: 11.59 MB / 0.9044 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