Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.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.001286/0.001286, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001376/0.001376, allocations: 214.7 kB / 22.25 MB, free: 5.082 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.211/3.211, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ConductorStepResponse,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",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.002112/0.002112, allocations: 72.59 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.357, allocations: 180.2 MB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006679/0.3637, allocations: 4.854 MB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006332/0.37, allocations: 3.354 MB / 1.361 GB, free: 248 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009454/0.371, allocations: 35.69 kB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.3729, allocations: 0.54 MB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.3751, allocations: 0.7661 MB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.3769, allocations: 0.6822 MB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003817/0.3807, allocations: 2.634 MB / 1.365 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004298/0.3812, allocations: 166 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.3828, allocations: 0.8334 MB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.3845, allocations: 0.8093 MB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.3848, allocations: 88 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.3853, allocations: 103.9 kB / 1.367 GB, free: 9.559 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007286/0.386, allocations: 0.5452 MB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.3871, allocations: 0.75 MB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.3892, allocations: 1.692 MB / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3892, allocations: 0 / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3892, allocations: 0 / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.349e-05/0.3892, allocations: 0 / 1.37 GB, free: 6.559 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003584/0.3928, allocations: 1.919 MB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3929, allocations: 8.031 kB / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.393, allocations: 90.64 kB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000399/0.3934, allocations: 183.8 kB / 1.372 GB, free: 4.312 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.3954, allocations: 1.104 MB / 1.373 GB, free: 3.176 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.3955, allocations: 57.38 kB / 1.374 GB, free: 3.121 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.3956, allocations: 84.38 kB / 1.374 GB, free: 3.039 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.3965, allocations: 0.5709 MB / 1.374 GB, free: 2.434 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.3965, allocations: 7.938 kB / 1.374 GB, free: 2.426 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.3966, allocations: 20 kB / 1.374 GB, free: 2.406 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.3966, allocations: 12 kB / 1.374 GB, free: 2.395 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006578/0.3972, allocations: 355.6 kB / 1.375 GB, free: 2.047 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.005398/0.4026, allocations: 3.827 MB / 1.378 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.4038, allocations: 497.4 kB / 1.379 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.4041, allocations: 179.5 kB / 1.379 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.4041, allocations: 4 kB / 1.379 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4042, allocations: 38.56 kB / 1.379 GB, free: 13.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.4042, allocations: 0 / 1.379 GB, free: 13.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.002055/0.4062, allocations: 0.8579 MB / 1.38 GB, free: 12.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.4063, allocations: 63.41 kB / 1.38 GB, free: 12.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.4088, allocations: 1.785 MB / 1.382 GB, free: 10.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/0.4088, allocations: 49.69 kB / 1.382 GB, free: 10.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006573/0.4095, allocations: 0.5847 MB / 1.382 GB, free: 9.812 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.4097, allocations: 115 kB / 1.382 GB, free: 9.699 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.41, allocations: 242.8 kB / 1.383 GB, free: 9.457 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002731/0.4102, allocations: 345.9 kB / 1.383 GB, free: 9.113 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.4108, allocations: 334.4 kB / 1.383 GB, free: 8.785 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.4119, allocations: 0.9364 MB / 1.384 GB, free: 7.539 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.4135, allocations: 1.275 MB / 1.385 GB, free: 5.957 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.4135, allocations: 8 kB / 1.385 GB, free: 5.949 MB / 1.076 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002526/0.416, allocations: 1.454 MB / 1.387 GB, free: 4.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.4161, allocations: 16 kB / 1.387 GB, free: 4.465 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/0.4161, allocations: 20 kB / 1.387 GB, free: 4.445 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007005/0.4168, allocations: 198.5 kB / 1.387 GB, free: 4.242 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.4176, allocations: 239.6 kB / 1.387 GB, free: 4.008 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005344/0.4229, allocations: 4.753 MB / 1.392 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.4242, allocations: 186.8 kB / 1.392 GB, free: 14.73 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.4243, allocations: 64.19 kB / 1.392 GB, free: 14.66 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (122): * Single equations (assignments): 119 * 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,5,100.0%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007606/0.4251, allocations: 493.1 kB / 1.393 GB, free: 14.17 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.4253, allocations: 139 kB / 1.393 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.4256, allocations: 134.3 kB / 1.393 GB, free: 13.9 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.4256, allocations: 8 kB / 1.393 GB, free: 13.89 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.4256, allocations: 4 kB / 1.393 GB, free: 13.89 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4257, allocations: 3.984 kB / 1.393 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.4269, allocations: 0.9009 MB / 1.394 GB, free: 12.94 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4269, allocations: 0 / 1.394 GB, free: 12.94 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.4272, allocations: 51.91 kB / 1.394 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/0.4277, allocations: 170.4 kB / 1.394 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.4277, allocations: 11.94 kB / 1.394 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/0.4324, allocations: 4.714 MB / 1.399 GB, free: 7.645 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4324, allocations: 3.938 kB / 1.399 GB, free: 7.641 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.4339, allocations: 0.8996 MB / 1.399 GB, free: 6.715 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/0.4344, allocations: 234.8 kB / 1.4 GB, free: 6.484 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.4346, allocations: 8 kB / 1.4 GB, free: 6.477 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.4352, allocations: 44.17 kB / 1.4 GB, free: 6.434 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.4353, allocations: 27.95 kB / 1.4 GB, free: 6.406 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.4353, allocations: 12 kB / 1.4 GB, free: 6.395 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001863/0.4372, allocations: 1.216 MB / 1.401 GB, free: 5.184 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.4372, allocations: 0 / 1.401 GB, free: 5.184 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001198/0.4384, allocations: 383.7 kB / 1.401 GB, free: 4.809 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (conMul.lay[2].T[1],conMul.lay[2].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 (19): * 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: 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,5,100.0%), (1,5,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.001803/0.4402, allocations: 1.444 MB / 1.403 GB, free: 3.324 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.442, allocations: 1.087 MB / 1.404 GB, free: 2.203 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.442, allocations: 0 / 1.404 GB, free: 2.203 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007974/0.4428, allocations: 0.5467 MB / 1.404 GB, free: 1.617 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.4442, allocations: 335.6 kB / 1.405 GB, free: 1.289 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/0.4619, allocations: 12.11 MB / 1.417 GB, free: 4.398 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.463, allocations: 1.312 MB / 1.418 GB, free: 3.055 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006534/0.4636, allocations: 240.8 kB / 1.418 GB, free: 2.816 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006289/0.4643, allocations: 483.3 kB / 1.418 GB, free: 2.344 MB / 1.107 GB Notification: Performance of SimCode: time 8.32e-07/0.4643, allocations: 0 / 1.418 GB, free: 2.344 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07981/0.5441, allocations: 28.57 MB / 1.446 GB, free: 6.148 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.67, allocations: 10.55 kB / 1.446 GB, free: 6.141 MB / 1.139 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorStepResponse_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.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: 21.329181011999026]