Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.841/2.841, allocations: 0.49 GB / 0.7923 GB, free: 1.371 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 71.89 kB / 1.149 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9374/0.9394, allocations: 176.1 MB / 1.321 GB, free: 24.84 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003156/0.9425, allocations: 2.767 MB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003086/0.9456, allocations: 2.87 MB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.9458, allocations: 13.69 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.9471, allocations: 485.9 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005386/0.9477, allocations: 267.9 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.9486, allocations: 400.2 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.9503, allocations: 1.529 MB / 1.33 GB, free: 19.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.9505, allocations: 110.7 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008062/0.9514, allocations: 488.6 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006158/0.952, allocations: 406.4 kB / 1.331 GB, free: 19.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.08e-05/0.9521, allocations: 47.28 kB / 1.331 GB, free: 19.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.9522, allocations: 55.27 kB / 1.331 GB, free: 19.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.9525, allocations: 281.6 kB / 1.331 GB, free: 19.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003652/0.9529, allocations: 372.7 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.9539, allocations: 0.9194 MB / 1.332 GB, free: 18.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9539, allocations: 4 kB / 1.332 GB, free: 18.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9539, allocations: 0 / 1.332 GB, free: 18.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.954, allocations: 1.062 kB / 1.332 GB, free: 18.78 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002161/0.9561, allocations: 1.172 MB / 1.333 GB, free: 18.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.9562, allocations: 17.3 kB / 1.333 GB, free: 18.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.401e-05/0.9562, allocations: 10.44 kB / 1.333 GB, free: 18.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.9562, allocations: 62.12 kB / 1.333 GB, free: 17.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.9565, allocations: 85.3 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.9576, allocations: 0.6781 MB / 1.334 GB, free: 17.49 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.9576, allocations: 35.06 kB / 1.334 GB, free: 17.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/0.9577, allocations: 51.06 kB / 1.334 GB, free: 17.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.9583, allocations: 371.2 kB / 1.335 GB, free: 17.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.9583, allocations: 4.469 kB / 1.335 GB, free: 17.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.9584, allocations: 10.53 kB / 1.335 GB, free: 17.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.9584, allocations: 7.625 kB / 1.335 GB, free: 17.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.9588, allocations: 236.2 kB / 1.335 GB, free: 17.19 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/0.9621, allocations: 2.451 MB / 1.337 GB, free: 15.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000936/0.963, allocations: 393.9 kB / 1.338 GB, free: 15.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.9632, allocations: 129.3 kB / 1.338 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.9632, allocations: 3.297 kB / 1.338 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.9632, allocations: 35.81 kB / 1.338 GB, free: 15.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/0.9632, allocations: 0 / 1.338 GB, free: 15.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009785/0.9642, allocations: 0.5377 MB / 1.338 GB, free: 15.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.9642, allocations: 54.73 kB / 1.338 GB, free: 14.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.9655, allocations: 0.9365 MB / 1.339 GB, free: 14.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.9655, allocations: 35.77 kB / 1.339 GB, free: 14.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.9657, allocations: 304.8 kB / 1.34 GB, free: 14.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.101e-05/0.9658, allocations: 74.55 kB / 1.34 GB, free: 14.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.966, allocations: 129.5 kB / 1.34 GB, free: 14.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.9661, allocations: 384.9 kB / 1.34 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.9664, allocations: 239.5 kB / 1.34 GB, free: 13.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.9668, allocations: 0.5019 MB / 1.341 GB, free: 13.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/0.9675, allocations: 0.6964 MB / 1.341 GB, free: 12.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.9675, allocations: 2.625 kB / 1.342 GB, free: 12.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001224/0.9687, allocations: 0.817 MB / 1.342 GB, free: 12.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.9687, allocations: 10.44 kB / 1.342 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.9687, allocations: 9.156 kB / 1.342 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.969, allocations: 54.59 kB / 1.342 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.9694, allocations: 141.4 kB / 1.343 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009735/0.9704, allocations: 1.542 MB / 1.344 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008122/0.9712, allocations: 127.7 kB / 1.344 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.9712, allocations: 27.84 kB / 1.344 GB, free: 11.05 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003859/0.9716, allocations: 340.5 kB / 1.344 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.9718, allocations: 66.48 kB / 1.345 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.9719, allocations: 75.23 kB / 1.345 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.9719, allocations: 1.969 kB / 1.345 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9719, allocations: 1.797 kB / 1.345 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.9719, allocations: 0.5625 kB / 1.345 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000668/0.9726, allocations: 0.5837 MB / 1.345 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9726, allocations: 4.594 kB / 1.345 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.9728, allocations: 53.23 kB / 1.345 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.9729, allocations: 41.81 kB / 1.345 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.973, allocations: 10.84 kB / 1.345 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007879/0.9737, allocations: 1.526 MB / 1.347 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9738, allocations: 3.938 kB / 1.347 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/0.9745, allocations: 0.5597 MB / 1.347 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.9747, allocations: 211.6 kB / 1.348 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.9748, allocations: 13.34 kB / 1.348 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.9752, allocations: 42.7 kB / 1.348 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.9753, allocations: 18.75 kB / 1.348 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.9753, allocations: 4.25 kB / 1.348 GB, free: 8.484 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008905/0.9762, allocations: 0.6649 MB / 1.348 GB, free: 8.223 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9762, allocations: 3.938 kB / 1.348 GB, free: 8.219 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007294/0.9769, allocations: 183.2 kB / 1.348 GB, free: 8.199 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0009002/0.9778, allocations: 1.126 MB / 1.35 GB, free: 7.367 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009448/0.9788, allocations: 0.5512 MB / 1.35 GB, free: 7.137 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.9788, allocations: 4.062 kB / 1.35 GB, free: 7.133 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.9791, allocations: 247.1 kB / 1.35 GB, free: 6.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/0.98, allocations: 166 kB / 1.35 GB, free: 6.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00865/0.9886, allocations: 6.953 MB / 1.357 GB, free: 3.168 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.9892, allocations: 1.01 MB / 1.358 GB, free: 2.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005434/0.9897, allocations: 181.6 kB / 1.358 GB, free: 2.395 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.99, allocations: 207 kB / 1.359 GB, free: 2.238 MB / 1.061 GB Notification: Performance of SimCode: time 7.52e-07/0.99, allocations: 4 kB / 1.359 GB, free: 2.234 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/1.034, allocations: 14.36 MB / 1.373 GB, free: 1.129 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.86, allocations: 12.91 kB / 1.373 GB, free: 1.121 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.10486998903798]