Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001862/0.001862, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.002295/0.002295, allocations: 211 kB / 20.13 MB, free: 2.969 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.024/3.024, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 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.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.002232/0.002232, allocations: 71.84 kB / 1.165 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8956/0.8979, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005503/0.9034, allocations: 4.963 MB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00372/0.9071, allocations: 2.542 MB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.9076, allocations: 39.97 kB / 1.347 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.9089, allocations: 413.5 kB / 1.348 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.9103, allocations: 464.4 kB / 1.348 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.9115, allocations: 404.2 kB / 1.349 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.913, allocations: 0.9173 MB / 1.35 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005866/0.9136, allocations: 291 kB / 1.35 GB, free: 9.824 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007282/0.9143, allocations: 361.5 kB / 1.35 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006171/0.9149, allocations: 368.7 kB / 1.351 GB, free: 9.516 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.915, allocations: 38.5 kB / 1.351 GB, free: 9.516 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000851/0.9159, allocations: 407.8 kB / 1.351 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.9161, allocations: 193.1 kB / 1.351 GB, free: 9.293 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.9165, allocations: 326 kB / 1.352 GB, free: 9.098 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.9181, allocations: 0.8937 MB / 1.352 GB, free: 8.773 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.9181, allocations: 0.75 kB / 1.352 GB, free: 8.773 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.614e-06/0.9181, allocations: 0.8125 kB / 1.352 GB, free: 8.773 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.669e-05/0.9181, allocations: 0 / 1.352 GB, free: 8.773 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001739/0.9198, allocations: 0.9751 MB / 1.353 GB, free: 8.035 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.9199, allocations: 8.875 kB / 1.353 GB, free: 8.035 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.722e-05/0.9199, allocations: 21.58 kB / 1.353 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.92, allocations: 89.61 kB / 1.353 GB, free: 7.961 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.9215, allocations: 206.2 kB / 1.354 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009434/0.9225, allocations: 0.5534 MB / 1.354 GB, free: 7.555 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.9225, allocations: 35.77 kB / 1.354 GB, free: 7.539 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/0.9226, allocations: 49.22 kB / 1.354 GB, free: 7.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.9238, allocations: 0.8484 MB / 1.355 GB, free: 6.934 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.9238, allocations: 10.94 kB / 1.355 GB, free: 6.926 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.9239, allocations: 20.77 kB / 1.355 GB, free: 6.914 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.924, allocations: 65.44 kB / 1.355 GB, free: 6.902 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009454/0.925, allocations: 0.5653 MB / 1.356 GB, free: 6.699 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003929/0.9289, allocations: 5.652 MB / 1.361 GB, free: 1.578 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.9296, allocations: 426.4 kB / 1.362 GB, free: 1.418 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.9299, allocations: 201.7 kB / 1.362 GB, free: 1.348 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.9299, allocations: 4.125 kB / 1.362 GB, free: 1.348 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.9299, allocations: 31.62 kB / 1.362 GB, free: 1.309 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.364e-06/0.9299, allocations: 5.062 kB / 1.362 GB, free: 1.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002695/0.9326, allocations: 1.517 MB / 1.363 GB, free: 364 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.9327, allocations: 56.17 kB / 1.363 GB, free: 300 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/0.9332, allocations: 0.5004 MB / 1.364 GB, free: 56 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.9333, allocations: 31.62 kB / 1.364 GB, free: 20 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.9336, allocations: 366.9 kB / 1.364 GB, free: 15.72 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.9337, allocations: 126.3 kB / 1.364 GB, free: 15.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.9339, allocations: 110.3 kB / 1.365 GB, free: 15.56 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.9341, allocations: 370.8 kB / 1.365 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.9344, allocations: 195.4 kB / 1.365 GB, free: 15.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005205/0.9349, allocations: 446 kB / 1.365 GB, free: 14.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/0.9359, allocations: 0.6931 MB / 1.366 GB, free: 14.24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.9359, allocations: 5.906 kB / 1.366 GB, free: 14.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001453/0.9374, allocations: 0.8047 MB / 1.367 GB, free: 13.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.9374, allocations: 9.719 kB / 1.367 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.9374, allocations: 11.88 kB / 1.367 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005395/0.938, allocations: 156.3 kB / 1.367 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.9384, allocations: 121.4 kB / 1.367 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004251/0.9427, allocations: 4.348 MB / 1.371 GB, free: 9.516 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.9433, allocations: 37.16 kB / 1.372 GB, free: 9.504 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.9433, allocations: 28.19 kB / 1.372 GB, free: 9.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003884/0.9437, allocations: 216.8 kB / 1.372 GB, free: 9.328 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.9438, allocations: 62.44 kB / 1.372 GB, free: 9.297 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.945, allocations: 0.6063 MB / 1.372 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.945, allocations: 8.281 kB / 1.372 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.945, allocations: 1.281 kB / 1.372 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.945, allocations: 3.5 kB / 1.372 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.9472, allocations: 1.259 MB / 1.374 GB, free: 8.301 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.9472, allocations: 2.969 kB / 1.374 GB, free: 8.301 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.9475, allocations: 54.27 kB / 1.374 GB, free: 8.297 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/0.948, allocations: 150.7 kB / 1.374 GB, free: 8.223 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.948, allocations: 8.578 kB / 1.374 GB, free: 8.219 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003942/0.9519, allocations: 4.336 MB / 1.378 GB, free: 3.938 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.9519, allocations: 3.453 kB / 1.378 GB, free: 3.938 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.9532, allocations: 0.7176 MB / 1.379 GB, free: 3.508 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.9535, allocations: 166.3 kB / 1.379 GB, free: 3.371 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.9536, allocations: 8.203 kB / 1.379 GB, free: 3.367 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.9538, allocations: 26.3 kB / 1.379 GB, free: 3.359 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.9539, allocations: 32.12 kB / 1.379 GB, free: 3.352 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.954, allocations: 11.59 kB / 1.379 GB, free: 3.348 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004697/0.9544, allocations: 339.6 kB / 1.379 GB, free: 3.195 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9544, allocations: 0 / 1.379 GB, free: 3.195 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007824/0.9552, allocations: 142.7 kB / 1.379 GB, free: 3.18 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,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.001589/0.9568, allocations: 1.265 MB / 1.381 GB, free: 2.215 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.9585, allocations: 1.014 MB / 1.382 GB, free: 1.504 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9585, allocations: 0 / 1.382 GB, free: 1.504 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.9595, allocations: 0.7206 MB / 1.382 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.9606, allocations: 210.4 kB / 1.383 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007687/0.9683, allocations: 5.16 MB / 1.388 GB, free: 13.52 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.9689, allocations: 0.9096 MB / 1.389 GB, free: 12.8 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004318/0.9693, allocations: 115.1 kB / 1.389 GB, free: 12.79 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.9696, allocations: 192.1 kB / 1.389 GB, free: 12.64 MB / 1.092 GB Notification: Performance of SimCode: time 1.203e-06/0.9696, allocations: 0 / 1.389 GB, free: 12.64 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04542/1.015, allocations: 13.02 MB / 1.402 GB, free: 10.14 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.42, allocations: 10.14 kB / 1.402 GB, free: 10.13 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.078446157975122]