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.001299/0.001299, 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.001431/0.001431, allocations: 209.6 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.425/1.425, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.882/2.882, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_latest_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.002037/0.002037, allocations: 68.17 kB / 1.165 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8466, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005485/0.852, allocations: 4.842 MB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005307/0.8574, allocations: 3.336 MB / 1.348 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.8584, allocations: 34.69 kB / 1.348 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.8601, allocations: 0.5322 MB / 1.349 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.8621, allocations: 0.7198 MB / 1.349 GB, free: 9.867 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.8643, allocations: 0.6392 MB / 1.35 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004526/0.8689, allocations: 2.595 MB / 1.352 GB, free: 8.527 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000482/0.8693, allocations: 201.7 kB / 1.353 GB, free: 8.422 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.8713, allocations: 0.83 MB / 1.354 GB, free: 8.117 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.8729, allocations: 0.7831 MB / 1.354 GB, free: 7.789 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.8731, allocations: 90.28 kB / 1.354 GB, free: 7.785 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.8735, allocations: 107.2 kB / 1.354 GB, free: 7.773 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006572/0.8742, allocations: 0.5297 MB / 1.355 GB, free: 7.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009284/0.8751, allocations: 0.7524 MB / 1.356 GB, free: 7.117 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.8776, allocations: 1.683 MB / 1.357 GB, free: 6.477 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.8776, allocations: 5.156 kB / 1.357 GB, free: 6.473 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.295e-06/0.8776, allocations: 0 / 1.357 GB, free: 6.473 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.047e-05/0.8777, allocations: 0 / 1.357 GB, free: 6.473 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.004998/0.8827, allocations: 1.995 MB / 1.359 GB, free: 5.211 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.8827, allocations: 9.844 kB / 1.359 GB, free: 5.211 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.652e-05/0.8828, allocations: 11.66 kB / 1.359 GB, free: 5.207 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.8829, allocations: 90.81 kB / 1.359 GB, free: 5.137 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000519/0.8834, allocations: 184.8 kB / 1.36 GB, free: 5.043 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.8855, allocations: 1.168 MB / 1.361 GB, free: 4.379 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/0.8855, allocations: 59.94 kB / 1.361 GB, free: 4.352 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.8857, allocations: 84.44 kB / 1.361 GB, free: 4.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.8867, allocations: 0.5649 MB / 1.361 GB, free: 4.047 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.8868, allocations: 1.156 kB / 1.361 GB, free: 4.047 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.8868, allocations: 16.84 kB / 1.361 GB, free: 4.035 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.8868, allocations: 11.34 kB / 1.361 GB, free: 4.035 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006525/0.8875, allocations: 355 kB / 1.362 GB, free: 3.922 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.005556/0.893, allocations: 3.873 MB / 1.366 GB, free: 1.098 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.8943, allocations: 491.2 kB / 1.366 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.8946, allocations: 179.6 kB / 1.366 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.8946, allocations: 3 kB / 1.366 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.8946, allocations: 31.75 kB / 1.366 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.904e-06/0.8946, allocations: 0 / 1.366 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.002395/0.897, allocations: 1.088 MB / 1.367 GB, free: 248 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.897, allocations: 55.66 kB / 1.367 GB, free: 184 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.9001, allocations: 1.794 MB / 1.369 GB, free: 15.53 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.9002, allocations: 45.11 kB / 1.369 GB, free: 15.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005529/0.9008, allocations: 0.5875 MB / 1.37 GB, free: 15.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.901, allocations: 116.3 kB / 1.37 GB, free: 14.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/0.9013, allocations: 239.5 kB / 1.37 GB, free: 14.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.9015, allocations: 350 kB / 1.37 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/0.902, allocations: 326.9 kB / 1.371 GB, free: 14.42 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.9031, allocations: 0.9422 MB / 1.372 GB, free: 13.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.9046, allocations: 1.277 MB / 1.373 GB, free: 12.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.9046, allocations: 10.09 kB / 1.373 GB, free: 12.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002775/0.9074, allocations: 1.444 MB / 1.374 GB, free: 11.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.9074, allocations: 18.84 kB / 1.374 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.9075, allocations: 21.22 kB / 1.374 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008316/0.9083, allocations: 203.2 kB / 1.375 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.9091, allocations: 242.3 kB / 1.375 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005239/0.9144, allocations: 5.068 MB / 1.38 GB, free: 7.117 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.9163, allocations: 181.4 kB / 1.38 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.9164, allocations: 65.58 kB / 1.38 GB, free: 7.016 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.001132/0.9175, allocations: 480.7 kB / 1.38 GB, free: 6.754 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004246/0.918, allocations: 147.2 kB / 1.381 GB, free: 6.668 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.9182, allocations: 131.3 kB / 1.381 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.9182, allocations: 2.656 kB / 1.381 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/0.9183, allocations: 2.844 kB / 1.381 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.9183, allocations: 2.203 kB / 1.381 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.9198, allocations: 0.9333 MB / 1.382 GB, free: 6.156 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.9198, allocations: 0.7031 kB / 1.382 GB, free: 6.156 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.9201, allocations: 44.19 kB / 1.382 GB, free: 6.152 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/0.9206, allocations: 173.8 kB / 1.382 GB, free: 6.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.9207, allocations: 12.95 kB / 1.382 GB, free: 6.082 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004654/0.9253, allocations: 5.031 MB / 1.387 GB, free: 1.535 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9253, allocations: 0 / 1.387 GB, free: 1.535 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.927, allocations: 0.892 MB / 1.388 GB, free: 1.09 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/0.9277, allocations: 308.9 kB / 1.388 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.9279, allocations: 8.859 kB / 1.388 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/0.9285, allocations: 43.42 kB / 1.388 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.9286, allocations: 29.05 kB / 1.388 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.9286, allocations: 4.531 kB / 1.388 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002045/0.9307, allocations: 1.217 MB / 1.389 GB, free: 424 kB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9307, allocations: 0 / 1.389 GB, free: 424 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.001528/0.9322, allocations: 379.7 kB / 1.39 GB, free: 380 kB / 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.001788/0.934, allocations: 1.45 MB / 1.391 GB, free: 15.39 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.936, allocations: 1.084 MB / 1.392 GB, free: 14.81 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.936, allocations: 4.125 kB / 1.392 GB, free: 14.81 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008253/0.9368, allocations: 0.5522 MB / 1.393 GB, free: 14.4 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.9387, allocations: 347.1 kB / 1.393 GB, free: 14.27 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/0.9573, allocations: 12.09 MB / 1.405 GB, free: 7.836 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.9584, allocations: 1.315 MB / 1.406 GB, free: 7.039 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008488/0.9592, allocations: 242.1 kB / 1.406 GB, free: 7.008 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/0.9599, allocations: 488.4 kB / 1.407 GB, free: 6.625 MB / 1.092 GB Notification: Performance of SimCode: time 8.51e-07/0.9599, allocations: 0 / 1.407 GB, free: 6.625 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07361/1.034, allocations: 28.32 MB / 1.434 GB, free: 5.641 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.57, allocations: 8.078 kB / 1.434 GB, free: 5.637 MB / 1.107 GB " [Timeout remaining time 286] (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: 20.101938556006644]