Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001218/0.001218, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001321/0.001321, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.796/2.796, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 177] 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.ConductorStepResponse,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorStepResponse",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.002187/0.002187, allocations: 67.89 kB / 1.149 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8502/0.8524, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.004268/0.8567, allocations: 4.822 MB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004005/0.8607, allocations: 3.349 MB / 1.329 GB, free: 19.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/0.8612, allocations: 34.91 kB / 1.329 GB, free: 18.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.8625, allocations: 0.5324 MB / 1.33 GB, free: 18.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.8637, allocations: 0.7154 MB / 1.331 GB, free: 18.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.8651, allocations: 0.6433 MB / 1.331 GB, free: 18.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002927/0.8681, allocations: 2.591 MB / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003505/0.8684, allocations: 203.5 kB / 1.334 GB, free: 16.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.8699, allocations: 0.8264 MB / 1.335 GB, free: 16.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.8713, allocations: 0.791 MB / 1.336 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.8715, allocations: 89.41 kB / 1.336 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.8718, allocations: 107 kB / 1.336 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004975/0.8723, allocations: 0.5294 MB / 1.336 GB, free: 16.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006257/0.873, allocations: 0.7451 MB / 1.337 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.8747, allocations: 1.687 MB / 1.339 GB, free: 14.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.8747, allocations: 0.7969 kB / 1.339 GB, free: 14.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8747, allocations: 1.062 kB / 1.339 GB, free: 14.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.248e-05/0.8748, allocations: 0 / 1.339 GB, free: 14.95 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.003348/0.8781, allocations: 1.995 MB / 1.341 GB, free: 13.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.8782, allocations: 12.02 kB / 1.341 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.975e-05/0.8782, allocations: 13.25 kB / 1.341 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.731e-05/0.8783, allocations: 90.19 kB / 1.341 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.8787, allocations: 184.7 kB / 1.341 GB, free: 13.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.8805, allocations: 1.171 MB / 1.342 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.8805, allocations: 60.92 kB / 1.342 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.8806, allocations: 83.97 kB / 1.342 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008516/0.8815, allocations: 0.5573 MB / 1.343 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.8815, allocations: 5.125 kB / 1.343 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.8815, allocations: 20.09 kB / 1.343 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.8815, allocations: 11.47 kB / 1.343 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005957/0.8821, allocations: 356.8 kB / 1.343 GB, free: 12.39 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.004736/0.8869, allocations: 3.876 MB / 1.347 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.888, allocations: 483.4 kB / 1.347 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.8883, allocations: 173.2 kB / 1.348 GB, free: 9.348 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.8883, allocations: 3.969 kB / 1.348 GB, free: 9.348 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.8883, allocations: 36.25 kB / 1.348 GB, free: 9.305 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.8883, allocations: 4 kB / 1.348 GB, free: 9.301 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.002128/0.8904, allocations: 1.09 MB / 1.349 GB, free: 8.703 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.8904, allocations: 58.44 kB / 1.349 GB, free: 8.637 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/0.8929, allocations: 1.791 MB / 1.35 GB, free: 7.988 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.893, allocations: 45.58 kB / 1.35 GB, free: 7.941 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.8934, allocations: 0.5864 MB / 1.351 GB, free: 7.484 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.8936, allocations: 123.1 kB / 1.351 GB, free: 7.387 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.8939, allocations: 241.5 kB / 1.351 GB, free: 7.277 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.8939, allocations: 348.2 kB / 1.352 GB, free: 6.957 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.8944, allocations: 331.9 kB / 1.352 GB, free: 6.867 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.8951, allocations: 0.9393 MB / 1.353 GB, free: 5.926 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.8961, allocations: 1.272 MB / 1.354 GB, free: 4.797 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.8962, allocations: 10.06 kB / 1.354 GB, free: 4.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002166/0.8983, allocations: 1.455 MB / 1.356 GB, free: 4.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.8984, allocations: 15.88 kB / 1.356 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.8984, allocations: 21.59 kB / 1.356 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/0.899, allocations: 199.3 kB / 1.356 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.8996, allocations: 233.4 kB / 1.356 GB, free: 4.133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.9029, allocations: 5.065 MB / 1.361 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.9043, allocations: 193.2 kB / 1.361 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/0.9044, allocations: 60.66 kB / 1.361 GB, free: 15.48 MB / 1.076 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.0007058/0.9051, allocations: 482.3 kB / 1.362 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.9054, allocations: 145.1 kB / 1.362 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.9056, allocations: 128.8 kB / 1.362 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9056, allocations: 6.375 kB / 1.362 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.9056, allocations: 3.062 kB / 1.362 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.9056, allocations: 1.547 kB / 1.362 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.9069, allocations: 0.9449 MB / 1.363 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9069, allocations: 1.703 kB / 1.363 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.9071, allocations: 39.45 kB / 1.363 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/0.9076, allocations: 174.8 kB / 1.363 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.9076, allocations: 11.72 kB / 1.363 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004447/0.9121, allocations: 5.017 MB / 1.368 GB, free: 9.996 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9121, allocations: 0 / 1.368 GB, free: 9.996 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.9136, allocations: 0.8898 MB / 1.369 GB, free: 9.551 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005687/0.9141, allocations: 310.3 kB / 1.369 GB, free: 9.328 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.9143, allocations: 8.938 kB / 1.369 GB, free: 9.324 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.9149, allocations: 47.14 kB / 1.369 GB, free: 9.316 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.915, allocations: 24.72 kB / 1.369 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.915, allocations: 9.531 kB / 1.369 GB, free: 9.309 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00186/0.9169, allocations: 1.208 MB / 1.37 GB, free: 8.879 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9169, allocations: 0 / 1.37 GB, free: 8.879 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001322/0.9182, allocations: 380.5 kB / 1.371 GB, free: 8.836 MB / 1.076 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.001729/0.9199, allocations: 1.459 MB / 1.372 GB, free: 7.844 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.9217, allocations: 1.09 MB / 1.373 GB, free: 7.262 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9217, allocations: 1.875 kB / 1.373 GB, free: 7.262 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007716/0.9225, allocations: 0.5555 MB / 1.374 GB, free: 6.852 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.924, allocations: 344.5 kB / 1.374 GB, free: 6.719 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.9428, allocations: 12.08 MB / 1.386 GB, free: 308 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.944, allocations: 1.308 MB / 1.387 GB, free: 15.51 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008875/0.9448, allocations: 240.9 kB / 1.388 GB, free: 15.48 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007554/0.9456, allocations: 488.5 kB / 1.388 GB, free: 15.1 MB / 1.092 GB Notification: Performance of SimCode: time 9.51e-07/0.9456, allocations: 1.469 kB / 1.388 GB, free: 15.1 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0709/1.016, allocations: 28.32 MB / 1.416 GB, free: 5.457 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.5, allocations: 13.08 kB / 1.416 GB, free: 5.449 MB / 1.092 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorStepResponse_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.760589179000817]