Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001521/0.001521, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001753/0.001753, allocations: 219 kB / 23.03 MB, free: 4.945 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.809 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.081/3.081, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 MB / 0.6231 GB " [Timeout remaining time 177] 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_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.001905/0.001905, allocations: 70.36 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.326, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04224/0.3682, allocations: 36.38 MB / 1.381 GB, free: 11.48 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01865/0.3869, allocations: 11.09 MB / 1.392 GB, free: 364 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004067/0.3909, allocations: 206.5 kB / 1.392 GB, free: 156 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01138/0.4023, allocations: 4.382 MB / 1.396 GB, free: 11.76 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006225/0.4085, allocations: 2.32 MB / 1.398 GB, free: 9.43 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005313/0.4138, allocations: 2.174 MB / 1.401 GB, free: 7.258 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01144/0.4253, allocations: 9.273 MB / 1.41 GB, free: 13.95 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.4353, allocations: 6.396 MB / 1.416 GB, free: 7.434 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007196/0.4425, allocations: 4.133 MB / 1.42 GB, free: 3.289 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008122/0.4506, allocations: 4.743 MB / 1.424 GB, free: 14.53 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002476/0.4531, allocations: 0.8281 MB / 1.425 GB, free: 13.7 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003954/0.4571, allocations: 1.51 MB / 1.427 GB, free: 12.19 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00406/0.4611, allocations: 3.231 MB / 1.43 GB, free: 8.953 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005179/0.4663, allocations: 2.973 MB / 1.433 GB, free: 5.969 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01414/0.4804, allocations: 12.4 MB / 1.445 GB, free: 9.531 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4805, allocations: 0 / 1.445 GB, free: 9.531 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4805, allocations: 0 / 1.445 GB, free: 9.531 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.000331/0.4808, allocations: 0 / 1.445 GB, free: 9.531 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01526/0.496, allocations: 6.407 MB / 1.451 GB, free: 3.062 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4961, allocations: 12.03 kB / 1.451 GB, free: 3.051 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001626/0.4963, allocations: 147.6 kB / 1.451 GB, free: 2.906 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001856/0.4981, allocations: 0.8294 MB / 1.452 GB, free: 2.066 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005287/0.5034, allocations: 1.102 MB / 1.453 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006994/0.5104, allocations: 3.562 MB / 1.457 GB, free: 13.34 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.5107, allocations: 423.7 kB / 1.457 GB, free: 12.92 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/0.5118, allocations: 0.5566 MB / 1.458 GB, free: 12.37 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.53, allocations: 10.28 MB / 1.468 GB, free: 1.531 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.5301, allocations: 15.88 kB / 1.468 GB, free: 1.516 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006356/0.5307, allocations: 252 kB / 1.468 GB, free: 1.27 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005955/0.5313, allocations: 426.9 kB / 1.468 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.5463, allocations: 7.123 MB / 1.475 GB, free: 9.715 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03979/0.586, allocations: 26.27 MB / 1.501 GB, free: 14.8 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004616/0.5907, allocations: 2.891 MB / 1.504 GB, free: 11.91 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/0.5935, allocations: 1.934 MB / 1.506 GB, free: 9.977 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.756e-05/0.5936, allocations: 22 kB / 1.506 GB, free: 9.957 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.949e-05/0.5937, allocations: 64.5 kB / 1.506 GB, free: 9.883 MB / 1.201 GB Notification: Performance of pre-optimization done (n=209): time 4.789e-06/0.5937, allocations: 0 / 1.506 GB, free: 9.883 MB / 1.201 GB Notification: Performance of matching and sorting (n=212): time 0.02324/0.6169, allocations: 10.28 MB / 1.516 GB, free: 15.59 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.617, allocations: 73.41 kB / 1.516 GB, free: 15.51 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.6198, allocations: 2.002 MB / 1.518 GB, free: 13.49 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002101/0.62, allocations: 65.7 kB / 1.518 GB, free: 13.42 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001797/0.6218, allocations: 2.474 MB / 1.52 GB, free: 10.92 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007276/0.6226, allocations: 0.7707 MB / 1.521 GB, free: 10.14 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007608/0.6233, allocations: 477.5 kB / 1.522 GB, free: 9.668 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6235, allocations: 309.1 kB / 1.522 GB, free: 9.363 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.6254, allocations: 1.376 MB / 1.523 GB, free: 7.984 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.628, allocations: 2.104 MB / 1.525 GB, free: 5.559 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004759/0.6327, allocations: 3.77 MB / 1.529 GB, free: 1.48 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.6328, allocations: 4 kB / 1.529 GB, free: 1.477 MB / 1.217 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008018/0.6408, allocations: 5.031 MB / 1.534 GB, free: 12.42 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.6408, allocations: 20.05 kB / 1.534 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/0.6408, allocations: 24 kB / 1.534 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003542/0.6444, allocations: 1.576 MB / 1.535 GB, free: 10.79 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.646, allocations: 451.2 kB / 1.536 GB, free: 10.35 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/0.6693, allocations: 17.91 MB / 1.553 GB, free: 7.988 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.6716, allocations: 139.9 kB / 1.553 GB, free: 7.852 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/0.6719, allocations: 123.9 kB / 1.554 GB, free: 7.73 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003419/0.6753, allocations: 1.933 MB / 1.555 GB, free: 5.785 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006255/0.6759, allocations: 302.2 kB / 1.556 GB, free: 5.488 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007178/0.6831, allocations: 4.404 MB / 1.56 GB, free: 1.051 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.6831, allocations: 27.94 kB / 1.56 GB, free: 1.023 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/0.6831, allocations: 16.12 kB / 1.56 GB, free: 1.008 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.6831, allocations: 7.969 kB / 1.56 GB, free: 1 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.6983, allocations: 9.172 MB / 1.569 GB, free: 7.688 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.6983, allocations: 4 kB / 1.569 GB, free: 7.684 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009707/0.6993, allocations: 235.6 kB / 1.569 GB, free: 7.453 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003385/0.7026, allocations: 1.428 MB / 1.571 GB, free: 6.016 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/0.7028, allocations: 36 kB / 1.571 GB, free: 5.98 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02283/0.7257, allocations: 17.92 MB / 1.588 GB, free: 3.602 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.7257, allocations: 4 kB / 1.588 GB, free: 3.598 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007545/0.7332, allocations: 4.495 MB / 1.593 GB, free: 15.01 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/0.7348, allocations: 0.5761 MB / 1.593 GB, free: 14.43 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/0.7353, allocations: 43.94 kB / 1.593 GB, free: 14.39 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.7365, allocations: 115.9 kB / 1.593 GB, free: 14.28 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005486/0.7371, allocations: 193.2 kB / 1.594 GB, free: 14.09 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.7372, allocations: 64 kB / 1.594 GB, free: 14.02 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001915/0.7391, allocations: 1.315 MB / 1.595 GB, free: 12.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7391, allocations: 0 / 1.595 GB, free: 12.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00359/0.7427, allocations: 1.141 MB / 1.596 GB, free: 11.56 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007677/0.7504, allocations: 5.114 MB / 1.601 GB, free: 6.352 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007775/0.7582, allocations: 4.56 MB / 1.605 GB, free: 1.734 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.7582, allocations: 4.062 kB / 1.605 GB, free: 1.73 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.654/1.412, allocations: 2.789 MB / 1.608 GB, free: 243.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/1.416, allocations: 0.8992 MB / 1.609 GB, free: 243.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05402/1.47, allocations: 30.56 MB / 1.639 GB, free: 231.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005237/1.476, allocations: 3.163 MB / 1.642 GB, free: 231 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002138/1.478, allocations: 0.5572 MB / 1.642 GB, free: 230.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/1.48, allocations: 1.945 MB / 1.644 GB, free: 229.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.333e-06/1.48, allocations: 0 / 1.644 GB, free: 229.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1234/1.603, allocations: 91.04 MB / 1.733 GB, free: 149.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/18.05, allocations: 12.06 kB / 1.733 GB, free: 149.3 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 25.71683012205176]