Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001765/0.001765, 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.002099/0.002099, 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.797 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.191/3.191, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.002065/0.002065, allocations: 72.12 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3291, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04565/0.3747, allocations: 33.77 MB / 1.396 GB, free: 12.21 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02159/0.3963, allocations: 11.55 MB / 1.408 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003302/0.3996, allocations: 210.4 kB / 1.408 GB, free: 440 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01189/0.4115, allocations: 4.268 MB / 1.412 GB, free: 12.15 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006035/0.4176, allocations: 2.096 MB / 1.414 GB, free: 10.05 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006475/0.424, allocations: 2.407 MB / 1.416 GB, free: 7.641 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.435, allocations: 8.461 MB / 1.425 GB, free: 15.16 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01207/0.4471, allocations: 6.161 MB / 1.431 GB, free: 8.871 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006822/0.4539, allocations: 3.868 MB / 1.434 GB, free: 4.992 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007118/0.461, allocations: 4.151 MB / 1.439 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002159/0.4632, allocations: 0.7812 MB / 1.439 GB, free: 48 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005657/0.4688, allocations: 1.899 MB / 1.441 GB, free: 14.14 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004906/0.4738, allocations: 3.141 MB / 1.444 GB, free: 11 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.005649/0.4794, allocations: 2.751 MB / 1.447 GB, free: 8.234 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.4934, allocations: 12.06 MB / 1.459 GB, free: 12.13 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4934, allocations: 0 / 1.459 GB, free: 12.13 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4934, allocations: 0 / 1.459 GB, free: 12.13 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.00025/0.4936, allocations: 4 kB / 1.459 GB, free: 12.13 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01314/0.5067, allocations: 5.863 MB / 1.464 GB, free: 6.203 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5068, allocations: 12.03 kB / 1.464 GB, free: 6.191 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001351/0.5081, allocations: 0.8012 MB / 1.465 GB, free: 5.379 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005788/0.5139, allocations: 1.09 MB / 1.466 GB, free: 4.285 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008831/0.5228, allocations: 3.415 MB / 1.47 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/0.5231, allocations: 415.5 kB / 1.47 GB, free: 404 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.5245, allocations: 0.547 MB / 1.471 GB, free: 15.85 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0173/0.5418, allocations: 9.372 MB / 1.48 GB, free: 6.082 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001434/0.5419, allocations: 27.83 kB / 1.48 GB, free: 6.055 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005797/0.5425, allocations: 240 kB / 1.48 GB, free: 5.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00043/0.543, allocations: 350.8 kB / 1.48 GB, free: 5.477 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/0.5558, allocations: 6.822 MB / 1.487 GB, free: 14.64 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.038/0.5938, allocations: 25.15 MB / 1.511 GB, free: 4.879 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/0.5978, allocations: 2.299 MB / 1.514 GB, free: 2.598 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/0.6005, allocations: 1.763 MB / 1.515 GB, free: 0.8398 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.196e-05/0.6006, allocations: 22 kB / 1.515 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.6006, allocations: 56.5 kB / 1.516 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of pre-optimization done (n=179): time 4.068e-06/0.6006, allocations: 0 / 1.516 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of matching and sorting (n=182): time 0.02566/0.6263, allocations: 9.686 MB / 1.525 GB, free: 7.051 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.6264, allocations: 69.41 kB / 1.525 GB, free: 6.969 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/0.6287, allocations: 1.569 MB / 1.527 GB, free: 5.355 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.6288, allocations: 53.7 kB / 1.527 GB, free: 5.297 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.6307, allocations: 2.324 MB / 1.529 GB, free: 2.949 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006797/0.6314, allocations: 0.6623 MB / 1.53 GB, free: 2.281 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006793/0.632, allocations: 416 kB / 1.53 GB, free: 1.867 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6322, allocations: 305.1 kB / 1.53 GB, free: 1.566 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.634, allocations: 1.176 MB / 1.531 GB, free: 396 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/0.6366, allocations: 1.881 MB / 1.533 GB, free: 14.18 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004673/0.6412, allocations: 3.371 MB / 1.537 GB, free: 10.5 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.6412, allocations: 12 kB / 1.537 GB, free: 10.49 MB / 1.232 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.0082/0.6494, allocations: 4.539 MB / 1.541 GB, free: 5.93 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.6495, allocations: 15.98 kB / 1.541 GB, free: 5.914 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.6495, allocations: 24 kB / 1.541 GB, free: 5.891 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004079/0.6536, allocations: 1.581 MB / 1.543 GB, free: 4.301 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.6548, allocations: 351.4 kB / 1.543 GB, free: 3.957 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02561/0.6804, allocations: 17.94 MB / 1.56 GB, free: 1.566 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.6822, allocations: 123.8 kB / 1.561 GB, free: 1.445 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.6825, allocations: 96 kB / 1.561 GB, free: 1.352 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003119/0.6856, allocations: 1.895 MB / 1.562 GB, free: 15.44 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/0.686, allocations: 234.5 kB / 1.563 GB, free: 15.21 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007706/0.6937, allocations: 4.043 MB / 1.567 GB, free: 11.14 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.6938, allocations: 20 kB / 1.567 GB, free: 11.12 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.899e-05/0.6938, allocations: 16 kB / 1.567 GB, free: 11.1 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.6938, allocations: 11.91 kB / 1.567 GB, free: 11.09 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/0.7106, allocations: 8.677 MB / 1.575 GB, free: 2.273 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.7106, allocations: 4 kB / 1.575 GB, free: 2.27 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/0.7115, allocations: 179.7 kB / 1.575 GB, free: 2.094 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003715/0.7152, allocations: 1.351 MB / 1.577 GB, free: 0.7344 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.7153, allocations: 36 kB / 1.577 GB, free: 0.6992 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02395/0.7393, allocations: 16.72 MB / 1.593 GB, free: 15.52 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.7393, allocations: 8 kB / 1.593 GB, free: 15.51 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007307/0.7466, allocations: 4.044 MB / 1.597 GB, free: 11.37 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/0.748, allocations: 478.3 kB / 1.597 GB, free: 10.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/0.7483, allocations: 32 kB / 1.597 GB, free: 10.87 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009888/0.7493, allocations: 87.89 kB / 1.598 GB, free: 10.79 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/0.7498, allocations: 173.5 kB / 1.598 GB, free: 10.61 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.7499, allocations: 48 kB / 1.598 GB, free: 10.57 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001507/0.7514, allocations: 1.001 MB / 1.599 GB, free: 9.543 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.7514, allocations: 0 / 1.599 GB, free: 9.543 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002775/0.7542, allocations: 0.9883 MB / 1.6 GB, free: 8.555 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007501/0.7617, allocations: 4.634 MB / 1.604 GB, free: 3.824 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.5886/1.35, allocations: 4.153 MB / 1.608 GB, free: 226.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.35, allocations: 0.5 kB / 1.608 GB, free: 226.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004772/1.355, allocations: 2.577 MB / 1.611 GB, free: 226.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/1.359, allocations: 0.7979 MB / 1.612 GB, free: 226.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04144/1.4, allocations: 26.99 MB / 1.638 GB, free: 214.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00429/1.404, allocations: 3.038 MB / 1.641 GB, free: 214.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0015/1.406, allocations: 469.6 kB / 1.641 GB, free: 214 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/1.407, allocations: 1.791 MB / 1.643 GB, free: 212.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.092e-06/1.407, allocations: 0 / 1.643 GB, free: 212.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.135/1.542, allocations: 78.57 MB / 1.72 GB, free: 148.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.61, allocations: 7.5 kB / 1.72 GB, free: 148.7 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 22.88297051610425]