Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001689/0.001689, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002215/0.002215, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.074/3.074, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ACLineMatrix_RLC,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001845/0.001845, allocations: 65.73 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3148, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01703/0.3318, allocations: 9.645 MB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007648/0.3395, allocations: 3.022 MB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009766/0.3405, allocations: 43.69 kB / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002645/0.3431, allocations: 0.6862 MB / 1.34 GB, free: 4.031 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.3456, allocations: 0.7312 MB / 1.34 GB, free: 3.297 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.3477, allocations: 0.6393 MB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004359/0.3521, allocations: 2.73 MB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00264/0.3547, allocations: 1.375 MB / 1.345 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.3569, allocations: 1.169 MB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002979/0.3599, allocations: 1.492 MB / 1.348 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004356/0.3603, allocations: 216 kB / 1.348 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009515/0.3612, allocations: 471.3 kB / 1.348 GB, free: 11.15 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.3623, allocations: 1.006 MB / 1.349 GB, free: 10.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009521/0.3632, allocations: 0.8288 MB / 1.35 GB, free: 9.312 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004457/0.3677, allocations: 3.438 MB / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3677, allocations: 0 / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3677, allocations: 0 / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.199e-05/0.3677, allocations: 0 / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004979/0.3727, allocations: 1.917 MB / 1.355 GB, free: 3.906 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.3728, allocations: 8.031 kB / 1.355 GB, free: 3.898 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.835e-05/0.3728, allocations: 39.12 kB / 1.355 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004763/0.3733, allocations: 256.7 kB / 1.356 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008872/0.3822, allocations: 0.8892 MB / 1.356 GB, free: 2.707 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.3853, allocations: 1.124 MB / 1.358 GB, free: 1.555 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.3854, allocations: 115.3 kB / 1.358 GB, free: 1.441 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004402/0.3859, allocations: 144.4 kB / 1.358 GB, free: 1.301 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006947/0.3928, allocations: 3.104 MB / 1.361 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.3929, allocations: 11.95 kB / 1.361 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003216/0.3932, allocations: 59.98 kB / 1.361 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003258/0.3935, allocations: 175 kB / 1.361 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006144/0.3997, allocations: 2.604 MB / 1.364 GB, free: 11.23 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02014/0.4198, allocations: 9.32 MB / 1.373 GB, free: 1.676 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.4227, allocations: 1.221 MB / 1.374 GB, free: 448 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/0.4248, allocations: 0.976 MB / 1.375 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.921e-05/0.4249, allocations: 8.656 kB / 1.375 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.4249, allocations: 39.22 kB / 1.375 GB, free: 15.4 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 4.909e-06/0.4249, allocations: 0 / 1.375 GB, free: 15.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.07572/0.5006, allocations: 18.88 MB / 1.393 GB, free: 12.49 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.5007, allocations: 72.66 kB / 1.393 GB, free: 12.4 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.5019, allocations: 0.9261 MB / 1.394 GB, free: 11.46 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.502, allocations: 49.7 kB / 1.394 GB, free: 11.41 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005897/0.5026, allocations: 0.7424 MB / 1.395 GB, free: 10.66 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004836/0.5031, allocations: 0.5073 MB / 1.396 GB, free: 10.14 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006/0.5037, allocations: 291.5 kB / 1.396 GB, free: 9.855 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.5039, allocations: 353.9 kB / 1.396 GB, free: 9.504 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.5058, allocations: 1.339 MB / 1.398 GB, free: 8.164 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.508, allocations: 1.655 MB / 1.399 GB, free: 6.395 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004191/0.5122, allocations: 3.092 MB / 1.402 GB, free: 3.184 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.5122, allocations: 4 kB / 1.402 GB, free: 3.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01154/0.5237, allocations: 5.557 MB / 1.408 GB, free: 13.6 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.5237, allocations: 11.94 kB / 1.408 GB, free: 13.59 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.5238, allocations: 8 kB / 1.408 GB, free: 13.58 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008765/0.5325, allocations: 2.718 MB / 1.41 GB, free: 10.85 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007536/0.5333, allocations: 191.7 kB / 1.41 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03699/0.5703, allocations: 25 MB / 1.435 GB, free: 1.199 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.5717, allocations: 95.95 kB / 1.435 GB, free: 1.105 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.5719, allocations: 59.98 kB / 1.435 GB, free: 1.047 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001235/0.5731, allocations: 0.7371 MB / 1.436 GB, free: 308 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.5734, allocations: 119.2 kB / 1.436 GB, free: 188 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.5844, allocations: 5.31 MB / 1.441 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.5844, allocations: 16 kB / 1.441 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/0.5844, allocations: 19.98 kB / 1.441 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5844, allocations: 3.984 kB / 1.441 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.5997, allocations: 8.259 MB / 1.449 GB, free: 2.426 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.5997, allocations: 4.375 kB / 1.449 GB, free: 2.422 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.6001, allocations: 127.7 kB / 1.449 GB, free: 2.297 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008355/0.6085, allocations: 2.593 MB / 1.452 GB, free: 15.7 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/0.6087, allocations: 35.98 kB / 1.452 GB, free: 15.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03434/0.643, allocations: 23.44 MB / 1.475 GB, free: 7.754 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.643, allocations: 4 kB / 1.475 GB, free: 7.75 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.6538, allocations: 5.175 MB / 1.48 GB, free: 2.496 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.6548, allocations: 423.1 kB / 1.48 GB, free: 2.082 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.655, allocations: 31.95 kB / 1.48 GB, free: 2.051 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008545/0.6559, allocations: 79.89 kB / 1.48 GB, free: 1.973 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005113/0.6564, allocations: 125 kB / 1.48 GB, free: 1.848 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.6565, allocations: 44 kB / 1.48 GB, free: 1.805 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008668/0.6574, allocations: 0.6473 MB / 1.481 GB, free: 1.16 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6574, allocations: 0 / 1.481 GB, free: 1.16 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002329/0.6597, allocations: 0.7188 MB / 1.482 GB, free: 452 kB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01112/0.6708, allocations: 5.761 MB / 1.487 GB, free: 10.59 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007317/0.6781, allocations: 4.08 MB / 1.491 GB, free: 6.457 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.6782, allocations: 0 / 1.491 GB, free: 6.457 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/0.6834, allocations: 2.615 MB / 1.494 GB, free: 3.789 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.6849, allocations: 222.2 kB / 1.494 GB, free: 3.582 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0391/0.724, allocations: 21.35 MB / 1.515 GB, free: 13.76 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/0.7258, allocations: 1.109 MB / 1.516 GB, free: 12.61 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008269/0.7266, allocations: 329.4 kB / 1.516 GB, free: 12.29 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007936/0.7274, allocations: 0.5344 MB / 1.517 GB, free: 11.75 MB / 1.217 GB Notification: Performance of SimCode: time 1.012e-06/0.7274, allocations: 0 / 1.517 GB, free: 11.75 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/0.8307, allocations: 55.84 MB / 1.571 GB, free: 4.395 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.17, allocations: 6.094 kB / 1.571 GB, free: 4.391 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 20.992908927961253]