Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001684/0.001684, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002061/0.002061, allocations: 218.7 kB / 23.04 MB, free: 5.074 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.695/2.695, allocations: 476.7 MB / 0.7715 GB, free: 4.445 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.002003/0.002003, allocations: 66.06 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 169.9 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04372/0.3854, allocations: 34.83 MB / 1.318 GB, free: 8.766 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02572/0.4111, allocations: 15.31 MB / 1.333 GB, free: 9.418 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004241/0.4154, allocations: 206.4 kB / 1.333 GB, free: 9.215 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.4256, allocations: 3.819 MB / 1.337 GB, free: 5.387 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009343/0.4349, allocations: 3.016 MB / 1.34 GB, free: 2.355 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007074/0.442, allocations: 2.382 MB / 1.342 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01377/0.4557, allocations: 8.816 MB / 1.351 GB, free: 7.125 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0128/0.4686, allocations: 5.557 MB / 1.356 GB, free: 1.449 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009039/0.4776, allocations: 4.078 MB / 1.36 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00855/0.4861, allocations: 4.26 MB / 1.364 GB, free: 9.086 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002754/0.4889, allocations: 0.7148 MB / 1.365 GB, free: 8.371 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005769/0.4947, allocations: 1.748 MB / 1.367 GB, free: 6.621 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005432/0.5001, allocations: 2.891 MB / 1.37 GB, free: 3.723 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.008022/0.5081, allocations: 3.388 MB / 1.373 GB, free: 328 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01714/0.5253, allocations: 11.22 MB / 1.384 GB, free: 5.059 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5253, allocations: 0 / 1.384 GB, free: 5.059 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5253, allocations: 0 / 1.384 GB, free: 5.059 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004177/0.5257, allocations: 0 / 1.384 GB, free: 5.059 MB / 1.076 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.02181/0.5475, allocations: 6.06 MB / 1.39 GB, free: 14.93 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.5476, allocations: 8.031 kB / 1.39 GB, free: 14.92 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.00018/0.5477, allocations: 138.2 kB / 1.39 GB, free: 14.79 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00274/0.5505, allocations: 0.7271 MB / 1.391 GB, free: 14.05 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00825/0.5587, allocations: 1.164 MB / 1.392 GB, free: 12.88 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009594/0.5683, allocations: 3.478 MB / 1.395 GB, free: 9.312 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005037/0.5688, allocations: 374.2 kB / 1.396 GB, free: 8.945 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002213/0.571, allocations: 495.9 kB / 1.396 GB, free: 8.461 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02138/0.5924, allocations: 8.005 MB / 1.404 GB, free: 180 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002759/0.5927, allocations: 19.84 kB / 1.404 GB, free: 160 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/0.5945, allocations: 220 kB / 1.404 GB, free: 15.94 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0013/0.5958, allocations: 437.6 kB / 1.405 GB, free: 15.51 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.6102, allocations: 6.081 MB / 1.411 GB, free: 9.414 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05072/0.6609, allocations: 34.65 MB / 1.444 GB, free: 3.582 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.6644, allocations: 1.92 MB / 1.446 GB, free: 1.652 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/0.6672, allocations: 1.748 MB / 1.448 GB, free: 15.91 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.6674, allocations: 33.86 kB / 1.448 GB, free: 15.87 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.6674, allocations: 52.56 kB / 1.448 GB, free: 15.81 MB / 1.154 GB Notification: Performance of pre-optimization done (n=171): time 3.637e-06/0.6674, allocations: 0 / 1.448 GB, free: 15.81 MB / 1.154 GB Notification: Performance of matching and sorting (n=276): time 0.1588/0.8263, allocations: 38.71 MB / 1.486 GB, free: 9.047 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.8263, allocations: 77.58 kB / 1.486 GB, free: 8.957 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004393/0.8307, allocations: 2.282 MB / 1.488 GB, free: 6.66 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004771/0.8312, allocations: 73.7 kB / 1.488 GB, free: 6.582 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001968/0.8332, allocations: 2.338 MB / 1.49 GB, free: 4.223 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/0.8344, allocations: 0.9876 MB / 1.491 GB, free: 3.227 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/0.836, allocations: 0.5025 MB / 1.492 GB, free: 2.715 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8362, allocations: 309.1 kB / 1.492 GB, free: 2.41 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003294/0.8395, allocations: 1.973 MB / 1.494 GB, free: 444 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/0.8432, allocations: 2.603 MB / 1.497 GB, free: 13.59 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007334/0.8506, allocations: 4.925 MB / 1.502 GB, free: 8.387 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.458e-05/0.8506, allocations: 8 kB / 1.502 GB, free: 8.379 MB / 1.201 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01636/0.867, allocations: 7.653 MB / 1.509 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.867, allocations: 12 kB / 1.509 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/0.867, allocations: 20.88 kB / 1.509 GB, free: 0.625 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.8772, allocations: 3.218 MB / 1.512 GB, free: 13.39 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.8791, allocations: 399.3 kB / 1.513 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05032/0.9294, allocations: 33.29 MB / 1.545 GB, free: 11.02 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.9327, allocations: 163.8 kB / 1.545 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005535/0.9332, allocations: 108 kB / 1.545 GB, free: 10.75 MB / 1.248 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.003707/0.937, allocations: 1.801 MB / 1.547 GB, free: 8.941 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/0.9381, allocations: 349.8 kB / 1.547 GB, free: 8.598 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/0.9539, allocations: 7.236 MB / 1.554 GB, free: 1.281 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-05/0.9539, allocations: 31.94 kB / 1.554 GB, free: 1.25 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.295e-05/0.954, allocations: 28 kB / 1.555 GB, free: 1.223 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.416e-05/0.954, allocations: 11.95 kB / 1.555 GB, free: 1.211 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02618/0.9802, allocations: 12.8 MB / 1.567 GB, free: 4.246 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/0.9802, allocations: 12 kB / 1.567 GB, free: 4.234 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.9813, allocations: 223.6 kB / 1.567 GB, free: 4.016 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008656/0.9899, allocations: 2.852 MB / 1.57 GB, free: 1.145 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003509/0.9903, allocations: 55.98 kB / 1.57 GB, free: 1.09 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04786/1.038, allocations: 32.08 MB / 1.601 GB, free: 316 kB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/1.038, allocations: 8 kB / 1.601 GB, free: 308 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6389/1.677, allocations: 6.78 MB / 1.608 GB, free: 289.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/1.68, allocations: 0.7263 MB / 1.609 GB, free: 289.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008842/1.681, allocations: 55.52 kB / 1.609 GB, free: 289.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/1.683, allocations: 167.5 kB / 1.609 GB, free: 289.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001146/1.684, allocations: 263.5 kB / 1.609 GB, free: 289.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000328/1.685, allocations: 78.2 kB / 1.609 GB, free: 289.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003437/1.688, allocations: 1.524 MB / 1.611 GB, free: 288.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 7.1e-08/1.688, allocations: 0 / 1.611 GB, free: 288.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005349/1.693, allocations: 1.371 MB / 1.612 GB, free: 288.9 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.01294/1.706, allocations: 7.417 MB / 1.619 GB, free: 286.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.718, allocations: 6.57 MB / 1.626 GB, free: 284 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.718, allocations: 0 / 1.626 GB, free: 284 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006935/1.725, allocations: 4.251 MB / 1.63 GB, free: 282 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/1.73, allocations: 1.117 MB / 1.631 GB, free: 281.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0626/1.792, allocations: 39.08 MB / 1.669 GB, free: 253.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004528/1.797, allocations: 3.639 MB / 1.673 GB, free: 250.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002019/1.799, allocations: 0.5533 MB / 1.673 GB, free: 249.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/1.801, allocations: 1.979 MB / 1.675 GB, free: 247.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.052e-06/1.801, allocations: 0 / 1.675 GB, free: 247.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1668/1.968, allocations: 115.5 MB / 1.788 GB, free: 133.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.88/19.85, allocations: 11.94 kB / 1.788 GB, free: 133.6 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 27.533959749969654]