Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_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.001212/0.001212, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001131/0.001131, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.83 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4125, allocations: 157.4 MB / 1.052 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.003492/0.4161, allocations: 0.7651 MB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.4174, allocations: 0.8118 MB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.4175, allocations: 0 / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.661e-05/0.4176, allocations: 3.938 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.541e-05/0.4176, allocations: 0 / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.54e-05/0.4177, allocations: 15.98 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.4178, allocations: 47.8 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.418, allocations: 7.984 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.378e-05/0.4181, allocations: 19.98 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.4182, allocations: 19.86 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.4182, allocations: 4 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.4182, allocations: 4 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.4182, allocations: 7.984 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.4183, allocations: 19.92 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.4184, allocations: 43.81 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4184, allocations: 0 / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4184, allocations: 0 / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.4184, allocations: 3.984 kB / 1.054 GB, free: 6.809 MB / 0.8106 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.0007281/0.4192, allocations: 355.7 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/0.4193, allocations: 8.625 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.987e-05/0.4193, allocations: 38.75 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.4194, allocations: 4.844 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.4195, allocations: 180.2 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4195, allocations: 384 / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.4196, allocations: 4.375 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.4198, allocations: 70.22 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4199, allocations: 3.938 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4199, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4199, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.4202, allocations: 67.92 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.4207, allocations: 276.8 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.4209, allocations: 54.53 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.4211, allocations: 44.91 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.4211, allocations: 4 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4211, allocations: 30.56 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4212, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005577/0.4217, allocations: 133.5 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.4218, allocations: 51.41 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.4219, allocations: 113.8 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.4219, allocations: 25.7 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.422, allocations: 80.14 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.422, allocations: 15.8 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.4221, allocations: 17.72 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4223, allocations: 322.8 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.4224, allocations: 31.97 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.4225, allocations: 31.95 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.4228, allocations: 72.73 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4228, allocations: 7.922 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003178/0.4231, allocations: 97.56 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4232, allocations: 5.25 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4232, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4232, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.4233, allocations: 19.98 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4234, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.4234, allocations: 11.98 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.4235, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 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.00011/0.4236, allocations: 117.8 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.4236, allocations: 7.906 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.4236, allocations: 3.906 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4236, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4237, allocations: 4 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4237, allocations: 0 / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.4239, allocations: 169.6 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4239, allocations: 0 / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.627e-05/0.424, allocations: 15.97 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.424, allocations: 0 / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.424, allocations: 0 / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.424, allocations: 7.938 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.424, allocations: 0 / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.4244, allocations: 199.8 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.4245, allocations: 88.94 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.4245, allocations: 0 / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4246, allocations: 12.03 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.4247, allocations: 15.98 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.4247, allocations: 0 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.856e-05/0.4247, allocations: 83.27 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4247, allocations: 0 / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000226/0.425, allocations: 12 kB / 1.057 GB, free: 3.613 MB / 0.8106 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.0009474/0.4259, allocations: 0.7319 MB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004106/0.4264, allocations: 67.92 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4264, allocations: 0 / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.4265, allocations: 39.91 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.427, allocations: 18.25 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.4276, allocations: 167 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.4279, allocations: 0.6885 MB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.014e-05/0.428, allocations: 0 / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.4281, allocations: 11.44 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.4281, allocations: 4 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.4431, allocations: 1.414 MB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.4433, allocations: 212.6 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.237, allocations: 0 / 1.06 GB, free: 256 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches