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.001326/0.001326, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00148/0.00148, allocations: 211.9 kB / 22.24 MB, free: 5.242 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.801 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.242/3.242, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.002115/0.002115, allocations: 72.64 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.363, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007008/0.37, allocations: 4.663 MB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004516/0.3745, allocations: 2.432 MB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/0.3749, allocations: 39.62 kB / 1.37 GB, free: 6.891 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.3761, allocations: 408.5 kB / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.3772, allocations: 469.6 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009605/0.3782, allocations: 401.6 kB / 1.372 GB, free: 5.641 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.3793, allocations: 0.9255 MB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.3798, allocations: 318.6 kB / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.3804, allocations: 366.6 kB / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005306/0.3809, allocations: 350.4 kB / 1.373 GB, free: 3.688 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.381, allocations: 36 kB / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006586/0.3816, allocations: 355.2 kB / 1.374 GB, free: 3.305 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.3818, allocations: 187.4 kB / 1.374 GB, free: 3.121 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.3821, allocations: 262.6 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.3833, allocations: 0.8987 MB / 1.375 GB, free: 1.961 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3833, allocations: 0 / 1.375 GB, free: 1.961 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3833, allocations: 0 / 1.375 GB, free: 1.961 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.3833, allocations: 0 / 1.375 GB, free: 1.961 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.001513/0.3848, allocations: 0.9013 MB / 1.376 GB, free: 1.023 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3848, allocations: 8.031 kB / 1.376 GB, free: 1.016 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.385, allocations: 94.69 kB / 1.376 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.3862, allocations: 212.2 kB / 1.376 GB, free: 0.707 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009338/0.3871, allocations: 496.8 kB / 1.377 GB, free: 208 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.3872, allocations: 29.38 kB / 1.377 GB, free: 180 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/0.3872, allocations: 44.36 kB / 1.377 GB, free: 136 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.3886, allocations: 0.9738 MB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.3886, allocations: 11.94 kB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.3886, allocations: 27.97 kB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.3887, allocations: 68.95 kB / 1.378 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009215/0.3897, allocations: 0.5616 MB / 1.378 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004707/0.3944, allocations: 4.72 MB / 1.383 GB, free: 9.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000701/0.3951, allocations: 426.2 kB / 1.383 GB, free: 8.984 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.3954, allocations: 200.7 kB / 1.384 GB, free: 8.785 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3954, allocations: 4 kB / 1.384 GB, free: 8.781 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3955, allocations: 34.56 kB / 1.384 GB, free: 8.738 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.3955, allocations: 0 / 1.384 GB, free: 8.738 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002604/0.3981, allocations: 1.146 MB / 1.385 GB, free: 7.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3981, allocations: 55.69 kB / 1.385 GB, free: 7.504 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006085/0.3987, allocations: 0.5106 MB / 1.385 GB, free: 6.984 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3988, allocations: 29.7 kB / 1.385 GB, free: 6.949 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/0.399, allocations: 375.8 kB / 1.386 GB, free: 6.578 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.3992, allocations: 130.9 kB / 1.386 GB, free: 6.449 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.3993, allocations: 110.2 kB / 1.386 GB, free: 6.336 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3995, allocations: 362.8 kB / 1.386 GB, free: 5.973 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.3999, allocations: 201.2 kB / 1.387 GB, free: 5.773 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.4004, allocations: 451 kB / 1.387 GB, free: 5.219 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009237/0.4013, allocations: 0.6877 MB / 1.388 GB, free: 4.414 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4013, allocations: 4 kB / 1.388 GB, free: 4.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001394/0.4027, allocations: 0.8097 MB / 1.388 GB, free: 3.578 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.4027, allocations: 15.98 kB / 1.388 GB, free: 3.562 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.4028, allocations: 8 kB / 1.388 GB, free: 3.555 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.4033, allocations: 156 kB / 1.389 GB, free: 3.387 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.4038, allocations: 123.8 kB / 1.389 GB, free: 3.266 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/0.4076, allocations: 4.034 MB / 1.393 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.408, allocations: 31.97 kB / 1.393 GB, free: 14.86 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.408, allocations: 32 kB / 1.393 GB, free: 14.82 MB / 1.092 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.0003038/0.4083, allocations: 221.6 kB / 1.393 GB, free: 14.6 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.4085, allocations: 67.61 kB / 1.393 GB, free: 14.53 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.4096, allocations: 0.593 MB / 1.394 GB, free: 13.91 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4096, allocations: 4 kB / 1.394 GB, free: 13.91 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4096, allocations: 0 / 1.394 GB, free: 13.91 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.4096, allocations: 7.984 kB / 1.394 GB, free: 13.9 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.4117, allocations: 1.179 MB / 1.395 GB, free: 12.64 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.4117, allocations: 0 / 1.395 GB, free: 12.64 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.412, allocations: 56.17 kB / 1.395 GB, free: 12.58 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/0.4124, allocations: 140.1 kB / 1.395 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.4125, allocations: 11.94 kB / 1.395 GB, free: 12.42 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/0.4165, allocations: 4.019 MB / 1.399 GB, free: 8.055 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4165, allocations: 4.094 kB / 1.399 GB, free: 8.051 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.4177, allocations: 0.7079 MB / 1.4 GB, free: 7.289 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.418, allocations: 95.53 kB / 1.4 GB, free: 7.195 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.418, allocations: 11.98 kB / 1.4 GB, free: 7.184 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.4183, allocations: 19.98 kB / 1.4 GB, free: 7.164 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.4183, allocations: 35.88 kB / 1.4 GB, free: 7.129 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.4184, allocations: 12 kB / 1.4 GB, free: 7.117 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004146/0.4188, allocations: 338.8 kB / 1.4 GB, free: 6.789 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4188, allocations: 0 / 1.4 GB, free: 6.789 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006675/0.4195, allocations: 140 kB / 1.4 GB, free: 6.652 MB / 1.092 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.00145/0.4209, allocations: 1.266 MB / 1.401 GB, free: 5.32 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.4223, allocations: 0.8546 MB / 1.402 GB, free: 4.422 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4223, allocations: 0 / 1.402 GB, free: 4.422 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008449/0.4232, allocations: 0.5835 MB / 1.403 GB, free: 3.793 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009753/0.4241, allocations: 214 kB / 1.403 GB, free: 3.594 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007004/0.4312, allocations: 5.169 MB / 1.408 GB, free: 14.04 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.4315, allocations: 308 kB / 1.408 GB, free: 13.71 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003615/0.4319, allocations: 121.3 kB / 1.408 GB, free: 13.59 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.4322, allocations: 195.4 kB / 1.409 GB, free: 13.4 MB / 1.107 GB Notification: Performance of SimCode: time 8.92e-07/0.4322, allocations: 0 / 1.409 GB, free: 13.4 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0551/0.4873, allocations: 14.31 MB / 1.423 GB, free: 15.46 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.17, allocations: 8.984 kB / 1.423 GB, free: 15.46 MB / 1.123 GB " [Timeout remaining time 288] (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: 18.911061425693333]