Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.007342/0.007342, allocations: 100.3 kB / 15.73 MB, free: 6.066 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.001709/0.00171, allocations: 196.3 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.447/2.447, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 64.12 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7302, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001874/0.7322, allocations: 0.6614 MB / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009445/0.7331, allocations: 0.8039 MB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.7332, allocations: 0 / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.7332, allocations: 0 / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.085e-05/0.7333, allocations: 7.938 kB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.7334, allocations: 11.98 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.908e-05/0.7335, allocations: 27.92 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.7336, allocations: 4 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.7337, allocations: 15.92 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.044e-05/0.7337, allocations: 11.98 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.7337, allocations: 0 / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.7338, allocations: 4 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.7338, allocations: 3.938 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.7338, allocations: 7.984 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.009e-05/0.7339, allocations: 19.91 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7339, allocations: 4 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7339, allocations: 4 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7339, allocations: 0 / 1.168 GB, free: 2.172 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004379/0.7344, allocations: 335.2 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.7344, allocations: 8.922 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.7345, allocations: 34.75 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.7345, allocations: 0.9375 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.7346, allocations: 172.3 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.7346, allocations: 8.375 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.7347, allocations: 8.312 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.7348, allocations: 50.19 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.7349, allocations: 3.938 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.7349, allocations: 3.984 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.7349, allocations: 0 / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.7351, allocations: 31.97 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.7354, allocations: 252.9 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.7356, allocations: 50.47 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.7357, allocations: 19.34 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.7357, allocations: 3.984 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.7357, allocations: 38.56 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.7357, allocations: 4 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003584/0.7361, allocations: 77.64 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.7361, allocations: 51.41 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.7362, allocations: 109.8 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.7362, allocations: 25.7 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.7363, allocations: 80.27 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.7363, allocations: 11.95 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.7364, allocations: 13.72 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7365, allocations: 314.8 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.7366, allocations: 15.98 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.7366, allocations: 15.98 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.7368, allocations: 40.89 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7368, allocations: 3.938 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/0.737, allocations: 69.61 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.737, allocations: 8 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7371, allocations: 0 / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.7371, allocations: 3.938 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.7372, allocations: 7.984 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.7372, allocations: 4.031 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.7372, allocations: 7.984 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.7372, allocations: 4 kB / 1.17 GB, free: 92 kB / 0.8887 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 (2): * Single equations (assignments): 2 * 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.98e-05/0.7373, allocations: 109.8 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.7374, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.7376, allocations: 72.78 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.7376, allocations: 4.031 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7376, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7376, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.7378, allocations: 161.6 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7378, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.7379, allocations: 11.94 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.7379, allocations: 3.984 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.7379, allocations: 3.938 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7379, allocations: 3.938 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7379, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.7382, allocations: 167.5 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.7382, allocations: 81.06 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.7382, allocations: 4 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.7383, allocations: 7.984 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.7384, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.7384, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.7384, allocations: 87.31 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7384, allocations: 0 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002227/0.7387, allocations: 4 kB / 1.17 GB, free: 15.28 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 (2): * Single equations (assignments): 2 * 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.0005411/0.7392, allocations: 0.6992 MB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.7394, allocations: 39.95 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.7394, allocations: 0 / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.7395, allocations: 15.98 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.7398, allocations: 11.92 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.7402, allocations: 135.2 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.7405, allocations: 0.6729 MB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.7405, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.7406, allocations: 11.42 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.7406, allocations: 0 / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.7574, allocations: 1.269 MB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.993, allocations: 4.062 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_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_Exp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches