Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.001515/0.001515, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.679/2.679, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001327, allocations: 64.09 kB / 0.8693 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5364/0.5378, allocations: 151.6 MB / 1.017 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002663/0.5405, allocations: 1.663 MB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.5424, allocations: 1.37 MB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.5425, allocations: 11.88 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.5429, allocations: 83.53 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.5431, allocations: 75.5 kB / 1.021 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007031/0.5438, allocations: 275.2 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.544, allocations: 187.2 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.544, allocations: 13.48 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.5441, allocations: 83.62 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.5443, allocations: 79.69 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.5443, allocations: 8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.5448, allocations: 343.4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.903e-05/0.5449, allocations: 67.73 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.545, allocations: 91.47 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.5455, allocations: 391 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5455, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5455, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.485e-06/0.5455, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008247/0.5464, allocations: 0.5567 MB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5464, allocations: 8.031 kB / 1.023 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.5464, allocations: 38.75 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.5465, allocations: 20.66 kB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.5469, allocations: 283.6 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.547, allocations: 63.95 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.547, allocations: 4.375 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.5472, allocations: 93.58 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.5472, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.5472, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.5472, allocations: 3.938 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.5475, allocations: 99.88 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.5477, allocations: 253.4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.5491, allocations: 294.4 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.5493, allocations: 64.83 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.5494, allocations: 101 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.5494, allocations: 34.56 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5494, allocations: 0 / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004659/0.5499, allocations: 209.3 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.55, allocations: 51.41 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.5502, allocations: 311 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.5503, allocations: 29.7 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.5503, allocations: 120.5 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.5504, allocations: 19.7 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.5504, allocations: 61.69 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5506, allocations: 338.8 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.5508, allocations: 151.9 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.551, allocations: 151.9 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.5514, allocations: 301.4 kB / 1.026 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5514, allocations: 0 / 1.026 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005404/0.5519, allocations: 400.7 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.552, allocations: 8 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.552, allocations: 4 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.552, allocations: 0 / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.5521, allocations: 15.98 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5521, allocations: 0 / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.5522, allocations: 31.53 kB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.5523, allocations: 4 kB / 1.026 GB, free: 9.512 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001026/0.5524, allocations: 129.8 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.5524, allocations: 27.66 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.5528, allocations: 171.5 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5528, allocations: 4 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5528, allocations: 0 / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.5528, allocations: 0 / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.553, allocations: 237.5 kB / 1.027 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.553, allocations: 7.938 kB / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/0.5531, allocations: 15.98 kB / 1.027 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5531, allocations: 0 / 1.027 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.5531, allocations: 0 / 1.027 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5531, allocations: 4 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5531, allocations: 320 / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.5534, allocations: 184.7 kB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.5535, allocations: 116.7 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.5536, allocations: 0 / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.5537, allocations: 4 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.5537, allocations: 11.98 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.5537, allocations: 0 / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001657/0.5539, allocations: 197.9 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5539, allocations: 7.938 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003485/0.5542, allocations: 108 kB / 1.027 GB, free: 8.211 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 (6): * Single equations (assignments): 6 * 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.0009322/0.5552, allocations: 0.8852 MB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.5557, allocations: 355.3 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5557, allocations: 0 / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.5558, allocations: 67.91 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.5561, allocations: 24.64 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.5589, allocations: 2.673 MB / 1.031 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.5592, allocations: 0.7435 MB / 1.032 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.005e-05/0.5593, allocations: 17.02 kB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/0.5594, allocations: 63.42 kB / 1.032 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of SimCode: time 1.653e-06/0.5594, allocations: 0 / 1.032 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.5815, allocations: 5.747 MB / 1.037 GB, free: 13.65 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.986, allocations: 0 / 1.037 GB, free: 13.65 MB / 0.795 GB (rm -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_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_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:time,T,TExa,TMonotone,errMonotone,errNonMonotone