Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001868/0.001868, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002387/0.002387, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.781 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.19/3.19, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.002069/0.002069, allocations: 76.81 kB / 1.186 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3242, allocations: 181.9 MB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0431/0.3673, allocations: 31.71 MB / 1.394 GB, free: 14.37 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02488/0.3922, allocations: 14.46 MB / 1.408 GB, free: 15.87 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003304/0.3955, allocations: 210.4 kB / 1.409 GB, free: 15.66 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.01059/0.4061, allocations: 3.676 MB / 1.412 GB, free: 11.98 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009521/0.4156, allocations: 2.976 MB / 1.415 GB, free: 8.988 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007114/0.4227, allocations: 2.341 MB / 1.417 GB, free: 6.648 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01248/0.4352, allocations: 8.804 MB / 1.426 GB, free: 13.82 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.4457, allocations: 5.491 MB / 1.431 GB, free: 8.199 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007503/0.4532, allocations: 4.215 MB / 1.436 GB, free: 3.973 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006825/0.46, allocations: 3.932 MB / 1.439 GB, free: 28 kB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002148/0.4622, allocations: 0.7149 MB / 1.44 GB, free: 15.31 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.4666, allocations: 1.611 MB / 1.442 GB, free: 13.7 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.003998/0.4706, allocations: 2.887 MB / 1.444 GB, free: 10.8 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.004706/0.4753, allocations: 2.747 MB / 1.447 GB, free: 8.047 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.489, allocations: 11.26 MB / 1.458 GB, free: 12.75 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.489, allocations: 0 / 1.458 GB, free: 12.75 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.084e-06/0.489, allocations: 0 / 1.458 GB, free: 12.75 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002982/0.4893, allocations: 0 / 1.458 GB, free: 12.75 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01571/0.505, allocations: 6.033 MB / 1.464 GB, free: 6.652 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5051, allocations: 12.03 kB / 1.464 GB, free: 6.641 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001968/0.507, allocations: 0.7232 MB / 1.465 GB, free: 5.906 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007516/0.5145, allocations: 1.164 MB / 1.466 GB, free: 4.738 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008825/0.5234, allocations: 3.454 MB / 1.469 GB, free: 1.195 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/0.5238, allocations: 374.4 kB / 1.47 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/0.5253, allocations: 0.492 MB / 1.47 GB, free: 344 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.5421, allocations: 8.701 MB / 1.479 GB, free: 7.195 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.5422, allocations: 19.83 kB / 1.479 GB, free: 7.176 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006357/0.5428, allocations: 220 kB / 1.479 GB, free: 6.961 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001183/0.544, allocations: 445.5 kB / 1.479 GB, free: 6.523 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.5571, allocations: 6.069 MB / 1.485 GB, free: 452 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03818/0.5953, allocations: 22.04 MB / 1.507 GB, free: 9.91 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.5983, allocations: 1.92 MB / 1.509 GB, free: 7.984 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002712/0.601, allocations: 1.732 MB / 1.51 GB, free: 6.254 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.6011, allocations: 18 kB / 1.51 GB, free: 6.234 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.233e-05/0.6012, allocations: 64.5 kB / 1.51 GB, free: 6.164 MB / 1.201 GB Notification: Performance of pre-optimization done (n=171): time 4.058e-06/0.6012, allocations: 4 kB / 1.51 GB, free: 6.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=276): time 0.1669/0.7681, allocations: 38.7 MB / 1.548 GB, free: 15.41 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.7682, allocations: 81.58 kB / 1.548 GB, free: 15.32 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/0.7722, allocations: 2.324 MB / 1.551 GB, free: 12.98 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004536/0.7726, allocations: 73.7 kB / 1.551 GB, free: 12.9 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002022/0.7747, allocations: 2.338 MB / 1.553 GB, free: 10.54 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/0.7759, allocations: 0.9721 MB / 1.554 GB, free: 9.559 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001497/0.7774, allocations: 0.5025 MB / 1.554 GB, free: 9.047 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7776, allocations: 313.1 kB / 1.555 GB, free: 8.738 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003554/0.7811, allocations: 1.97 MB / 1.557 GB, free: 6.766 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/0.7851, allocations: 2.606 MB / 1.559 GB, free: 3.914 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007606/0.7927, allocations: 4.933 MB / 1.564 GB, free: 14.7 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/0.7928, allocations: 8 kB / 1.564 GB, free: 14.7 MB / 1.264 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01659/0.8093, allocations: 7.65 MB / 1.571 GB, free: 6.977 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.8094, allocations: 12 kB / 1.571 GB, free: 6.965 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/0.8094, allocations: 16 kB / 1.571 GB, free: 6.949 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.8196, allocations: 3.212 MB / 1.575 GB, free: 3.719 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.8214, allocations: 403.3 kB / 1.575 GB, free: 3.328 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05148/0.8729, allocations: 32.76 MB / 1.607 GB, free: 1.867 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/0.8759, allocations: 163.8 kB / 1.607 GB, free: 1.707 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004329/0.8764, allocations: 104 kB / 1.607 GB, free: 1.605 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.6285/1.505, allocations: 1.793 MB / 1.609 GB, free: 223.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007963/1.506, allocations: 343.6 kB / 1.609 GB, free: 223.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/1.521, allocations: 7.24 MB / 1.616 GB, free: 223.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/1.521, allocations: 29.06 kB / 1.616 GB, free: 223.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.531e-05/1.521, allocations: 29.72 kB / 1.616 GB, free: 223.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.856e-05/1.521, allocations: 13.17 kB / 1.616 GB, free: 223.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.545, allocations: 12.15 MB / 1.628 GB, free: 218.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/1.545, allocations: 7.188 kB / 1.628 GB, free: 218.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009339/1.546, allocations: 230.4 kB / 1.628 GB, free: 218.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008162/1.554, allocations: 2.85 MB / 1.631 GB, free: 217.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002998/1.554, allocations: 48.56 kB / 1.631 GB, free: 217.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03863/1.593, allocations: 31.53 MB / 1.662 GB, free: 200 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/1.593, allocations: 7.125 kB / 1.662 GB, free: 200 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.604, allocations: 6.795 MB / 1.669 GB, free: 197.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/1.606, allocations: 0.7214 MB / 1.669 GB, free: 196.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007048/1.607, allocations: 59.72 kB / 1.669 GB, free: 196.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.609, allocations: 168.6 kB / 1.67 GB, free: 196.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008401/1.609, allocations: 267.5 kB / 1.67 GB, free: 196.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/1.61, allocations: 73.59 kB / 1.67 GB, free: 196.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0021/1.612, allocations: 1.523 MB / 1.671 GB, free: 196.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.612, allocations: 0 / 1.671 GB, free: 196.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003615/1.615, allocations: 1.37 MB / 1.673 GB, free: 196 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01029/1.626, allocations: 7.415 MB / 1.68 GB, free: 189.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009326/1.635, allocations: 6.569 MB / 1.686 GB, free: 182.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.635, allocations: 4 kB / 1.686 GB, free: 182.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006409/1.641, allocations: 4.256 MB / 1.691 GB, free: 178.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004272/1.646, allocations: 1.117 MB / 1.692 GB, free: 177.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05308/1.699, allocations: 39.06 MB / 1.73 GB, free: 137.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/1.702, allocations: 3.112 MB / 1.733 GB, free: 134.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00179/1.704, allocations: 0.5556 MB / 1.733 GB, free: 133.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/1.706, allocations: 1.972 MB / 1.735 GB, free: 131.7 MB / 1.295 GB Notification: Performance of SimCode: time 9.02e-07/1.706, allocations: 0 / 1.735 GB, free: 131.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2043/1.91, allocations: 119.1 MB / 1.852 GB, free: 14.21 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/17.86, allocations: 0 / 1.852 GB, free: 14.21 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 25.190985100809485]