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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.00137, allocations: 112 kB / 16.41 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 489 MB / 0.7678 GB, free: 16 kB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 68.08 kB / 1.101 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8271, allocations: 163.8 MB / 1.261 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005702/0.8329, allocations: 3.735 MB / 1.265 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004807/0.8377, allocations: 2.504 MB / 1.267 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006197/0.8384, allocations: 11.94 kB / 1.267 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008985/0.8393, allocations: 254.3 kB / 1.267 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.8407, allocations: 0.4899 MB / 1.268 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.8424, allocations: 0.5412 MB / 1.268 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002012/0.8444, allocations: 1.379 MB / 1.27 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.8448, allocations: 153.1 kB / 1.27 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009292/0.8457, allocations: 426.5 kB / 1.27 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009031/0.8466, allocations: 466.2 kB / 1.271 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.8468, allocations: 56 kB / 1.271 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.847, allocations: 56 kB / 1.271 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004648/0.8474, allocations: 378.9 kB / 1.271 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.848, allocations: 457.7 kB / 1.272 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.8491, allocations: 0.949 MB / 1.273 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8491, allocations: 0 / 1.273 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8491, allocations: 0 / 1.273 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.8491, allocations: 0 / 1.273 GB, free: 11.47 MB / 0.9825 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.002367/0.8515, allocations: 1.303 MB / 1.274 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.8516, allocations: 12.03 kB / 1.274 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.06e-05/0.8516, allocations: 66.72 kB / 1.274 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.8518, allocations: 112.3 kB / 1.274 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.8529, allocations: 0.6722 MB / 1.275 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.853, allocations: 41.03 kB / 1.275 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.781e-05/0.853, allocations: 68.05 kB / 1.275 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.8537, allocations: 407 kB / 1.275 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.8537, allocations: 4 kB / 1.275 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.8537, allocations: 12 kB / 1.275 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.8538, allocations: 8 kB / 1.275 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.8542, allocations: 234.4 kB / 1.275 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.8574, allocations: 2.49 MB / 1.278 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.8589, allocations: 0.563 MB / 1.278 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.8592, allocations: 160.8 kB / 1.279 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.8592, allocations: 4 kB / 1.279 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.8592, allocations: 42.55 kB / 1.279 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.8592, allocations: 0 / 1.279 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.001665/0.8609, allocations: 0.8822 MB / 1.279 GB, free: 4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.861, allocations: 59.41 kB / 1.279 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.8623, allocations: 0.9271 MB / 1.28 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.8623, allocations: 41.7 kB / 1.28 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.8627, allocations: 365.3 kB / 1.281 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.8628, allocations: 126.9 kB / 1.281 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.863, allocations: 166.6 kB / 1.281 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.8633, allocations: 398.7 kB / 1.281 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.8637, allocations: 245.8 kB / 1.282 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008015/0.8645, allocations: 0.6465 MB / 1.282 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.8657, allocations: 0.8815 MB / 1.283 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.8657, allocations: 4 kB / 1.283 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001705/0.8674, allocations: 1.022 MB / 1.284 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.8675, allocations: 13.88 kB / 1.284 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.421e-05/0.8675, allocations: 19.94 kB / 1.284 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/0.8679, allocations: 126.6 kB / 1.284 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.8686, allocations: 187.7 kB / 1.285 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/0.8728, allocations: 4.481 MB / 1.289 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.874, allocations: 119.2 kB / 1.289 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/0.8741, allocations: 44 kB / 1.289 GB, free: 9.285 MB / 0.9981 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.0005483/0.8747, allocations: 273.3 kB / 1.289 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.8749, allocations: 91.48 kB / 1.289 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.875, allocations: 80.53 kB / 1.289 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.875, allocations: 4 kB / 1.289 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.8751, allocations: 0 / 1.289 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.8751, allocations: 7.922 kB / 1.289 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.8762, allocations: 0.657 MB / 1.29 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.8762, allocations: 0 / 1.29 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.8765, allocations: 63.88 kB / 1.29 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000361/0.8769, allocations: 102.5 kB / 1.29 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.877, allocations: 11.98 kB / 1.29 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004331/0.8813, allocations: 4.457 MB / 1.295 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8813, allocations: 0 / 1.295 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.8827, allocations: 0.7365 MB / 1.295 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.883, allocations: 216.3 kB / 1.296 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/0.8831, allocations: 8 kB / 1.296 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.8836, allocations: 23.97 kB / 1.296 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.8837, allocations: 19.97 kB / 1.296 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.8837, allocations: 15.94 kB / 1.296 GB, free: 2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000922/0.8846, allocations: 0.6239 MB / 1.296 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8846, allocations: 0 / 1.296 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009163/0.8855, allocations: 263.9 kB / 1.296 GB, free: 1.125 MB / 0.9981 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.001524/0.8871, allocations: 1.292 MB / 1.298 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.8886, allocations: 0.9197 MB / 1.299 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8886, allocations: 0 / 1.299 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006639/0.8893, allocations: 0.521 MB / 1.299 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008784/0.8902, allocations: 179.6 kB / 1.299 GB, free: 14.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.9013, allocations: 7.859 MB / 1.307 GB, free: 5.703 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007588/0.9021, allocations: 0.9878 MB / 1.308 GB, free: 4.688 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004937/0.9026, allocations: 153.8 kB / 1.308 GB, free: 4.535 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.903, allocations: 279.3 kB / 1.308 GB, free: 4.262 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/0.903, allocations: 0 / 1.308 GB, free: 4.262 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05887/0.9619, allocations: 17.27 MB / 1.325 GB, free: 3.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.38, allocations: 9.203 kB / 1.325 GB, free: 3.246 MB / 1.029 GB " [Timeout remaining time 288] (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 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.68405391415581]