Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.005663/0.005663, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001257/0.001257, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 59.91 kB / 1.054 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8672/0.8686, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004934/0.8736, allocations: 3.751 MB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004481/0.8781, allocations: 2.493 MB / 1.213 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006732/0.8788, allocations: 19.94 kB / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008785/0.8797, allocations: 250.3 kB / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.881, allocations: 0.4966 MB / 1.214 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.8825, allocations: 0.5339 MB / 1.215 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.8843, allocations: 1.387 MB / 1.216 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.8846, allocations: 141.2 kB / 1.216 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009776/0.8856, allocations: 442.5 kB / 1.217 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.8866, allocations: 466.2 kB / 1.217 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.8869, allocations: 59.94 kB / 1.217 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.8872, allocations: 56 kB / 1.217 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004992/0.8877, allocations: 370.9 kB / 1.217 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008474/0.8886, allocations: 469.7 kB / 1.218 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.8898, allocations: 0.9418 MB / 1.219 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.8899, allocations: 0 / 1.219 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8899, allocations: 0 / 1.219 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.688e-05/0.8899, allocations: 0 / 1.219 GB, free: 1.699 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002871/0.8928, allocations: 1.272 MB / 1.22 GB, free: 376 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.8929, allocations: 8.031 kB / 1.22 GB, free: 368 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.642e-05/0.893, allocations: 70.72 kB / 1.22 GB, free: 288 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.8932, allocations: 99.81 kB / 1.22 GB, free: 188 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.8943, allocations: 0.6715 MB / 1.221 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.8944, allocations: 44.97 kB / 1.221 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/0.8945, allocations: 56.12 kB / 1.221 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.895, allocations: 411 kB / 1.221 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.8951, allocations: 0 / 1.221 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.8951, allocations: 12 kB / 1.221 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.8951, allocations: 11.94 kB / 1.221 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.8955, allocations: 238.4 kB / 1.222 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.8985, allocations: 2.486 MB / 1.224 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.8999, allocations: 0.5571 MB / 1.225 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.9001, allocations: 165.3 kB / 1.225 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.9002, allocations: 4 kB / 1.225 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.9002, allocations: 42.5 kB / 1.225 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.9002, allocations: 0 / 1.225 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.001649/0.9019, allocations: 0.8794 MB / 1.226 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.9019, allocations: 55.41 kB / 1.226 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.9032, allocations: 0.927 MB / 1.227 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.9032, allocations: 37.7 kB / 1.227 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.9035, allocations: 372.7 kB / 1.227 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.9037, allocations: 114.4 kB / 1.227 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.9039, allocations: 166.6 kB / 1.227 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.9041, allocations: 394.8 kB / 1.228 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.9045, allocations: 249.8 kB / 1.228 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.9051, allocations: 0.6348 MB / 1.228 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.9062, allocations: 0.8854 MB / 1.229 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.9062, allocations: 11.88 kB / 1.229 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001732/0.908, allocations: 1.022 MB / 1.23 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.908, allocations: 12 kB / 1.23 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.908, allocations: 20.39 kB / 1.23 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/0.9085, allocations: 122.5 kB / 1.231 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.9091, allocations: 191.6 kB / 1.231 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/0.9125, allocations: 4.481 MB / 1.235 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.9135, allocations: 111 kB / 1.235 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.9136, allocations: 52 kB / 1.235 GB, free: 15.58 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003658/0.914, allocations: 261.4 kB / 1.235 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.9142, allocations: 82.88 kB / 1.236 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.9143, allocations: 80.52 kB / 1.236 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.9143, allocations: 4 kB / 1.236 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.9143, allocations: 4 kB / 1.236 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.9144, allocations: 0 / 1.236 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.9152, allocations: 0.6647 MB / 1.236 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.9152, allocations: 4 kB / 1.236 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.9156, allocations: 55.95 kB / 1.236 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/0.9159, allocations: 106.5 kB / 1.236 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.9159, allocations: 12 kB / 1.236 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/0.9193, allocations: 4.445 MB / 1.241 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9193, allocations: 0 / 1.241 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.9205, allocations: 0.7313 MB / 1.242 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.921, allocations: 216.1 kB / 1.242 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.9212, allocations: 11.98 kB / 1.242 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/0.9218, allocations: 27.91 kB / 1.242 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.9219, allocations: 23.95 kB / 1.242 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.9219, allocations: 12 kB / 1.242 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009632/0.9229, allocations: 0.6161 MB / 1.242 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9229, allocations: 0 / 1.242 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001067/0.924, allocations: 263.8 kB / 1.243 GB, free: 7.449 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001632/0.9256, allocations: 1.292 MB / 1.244 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.9273, allocations: 0.9211 MB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9273, allocations: 0.5 kB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007001/0.928, allocations: 0.5272 MB / 1.245 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.9291, allocations: 171.2 kB / 1.245 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.9412, allocations: 7.822 MB / 1.253 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.942, allocations: 0.9878 MB / 1.254 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004858/0.9425, allocations: 145.9 kB / 1.254 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/0.9429, allocations: 275.3 kB / 1.254 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of SimCode: time 9.32e-07/0.9429, allocations: 0 / 1.254 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04676/0.9897, allocations: 17.62 MB / 1.272 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.28, allocations: 12 kB / 1.272 GB, free: 9.262 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches