Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001338/0.001338, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001518/0.001518, allocations: 215.9 kB / 22.25 MB, free: 4.855 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.801 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.24/3.24, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.002122/0.002122, allocations: 65.75 kB / 1.186 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3315, allocations: 181.9 MB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01345/0.3449, allocations: 9.664 MB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005449/0.3504, allocations: 3.018 MB / 1.376 GB, free: 1.492 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004063/0.3508, allocations: 47.69 kB / 1.376 GB, free: 1.445 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.3526, allocations: 0.7028 MB / 1.377 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.354, allocations: 0.7234 MB / 1.377 GB, free: 16 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.3553, allocations: 0.6355 MB / 1.378 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002853/0.3582, allocations: 2.738 MB / 1.381 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.36, allocations: 1.364 MB / 1.382 GB, free: 11.22 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.3614, allocations: 1.172 MB / 1.383 GB, free: 10.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.3633, allocations: 1.429 MB / 1.384 GB, free: 8.613 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003209/0.3636, allocations: 216 kB / 1.385 GB, free: 8.402 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008617/0.3645, allocations: 459.4 kB / 1.385 GB, free: 7.953 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.3655, allocations: 1.013 MB / 1.386 GB, free: 6.938 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009537/0.3665, allocations: 0.8288 MB / 1.387 GB, free: 6.105 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.3699, allocations: 3.43 MB / 1.39 GB, free: 2.664 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3699, allocations: 3.938 kB / 1.39 GB, free: 2.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3699, allocations: 0 / 1.39 GB, free: 2.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.614e-05/0.3699, allocations: 0 / 1.39 GB, free: 2.66 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003504/0.3734, allocations: 1.909 MB / 1.392 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3735, allocations: 12.03 kB / 1.392 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003379/0.3738, allocations: 252.7 kB / 1.392 GB, free: 452 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005718/0.3795, allocations: 0.9008 MB / 1.393 GB, free: 15.54 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/0.3822, allocations: 1.12 MB / 1.394 GB, free: 14.39 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.3823, allocations: 115.2 kB / 1.394 GB, free: 14.28 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.3826, allocations: 144.3 kB / 1.395 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004821/0.3874, allocations: 3.096 MB / 1.398 GB, free: 10.92 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.3874, allocations: 7.938 kB / 1.398 GB, free: 10.91 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.3876, allocations: 63.95 kB / 1.398 GB, free: 10.85 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/0.3878, allocations: 179 kB / 1.398 GB, free: 10.68 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004254/0.3921, allocations: 2.6 MB / 1.4 GB, free: 8.07 MB / 1.092 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.01491/0.407, allocations: 9.312 MB / 1.409 GB, free: 14.53 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.4091, allocations: 1.225 MB / 1.411 GB, free: 13.29 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.4105, allocations: 0.9839 MB / 1.412 GB, free: 12.3 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.028e-05/0.4106, allocations: 8.656 kB / 1.412 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.4106, allocations: 43.2 kB / 1.412 GB, free: 12.24 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 3.737e-06/0.4106, allocations: 0 / 1.412 GB, free: 12.24 MB / 1.107 GB Notification: Performance of matching and sorting (n=139): time 0.07706/0.4877, allocations: 18.87 MB / 1.43 GB, free: 9.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.4877, allocations: 68.72 kB / 1.43 GB, free: 9.258 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.4891, allocations: 0.9377 MB / 1.431 GB, free: 8.309 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.4893, allocations: 49.7 kB / 1.431 GB, free: 8.254 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005754/0.4899, allocations: 0.7501 MB / 1.432 GB, free: 7.492 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/0.4904, allocations: 0.5035 MB / 1.432 GB, free: 6.984 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005606/0.4909, allocations: 287.5 kB / 1.433 GB, free: 6.699 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4911, allocations: 357.9 kB / 1.433 GB, free: 6.344 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.4932, allocations: 1.335 MB / 1.434 GB, free: 5.008 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002287/0.4955, allocations: 1.655 MB / 1.436 GB, free: 3.238 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004361/0.4998, allocations: 3.096 MB / 1.439 GB, free: 24 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.4998, allocations: 4 kB / 1.439 GB, free: 20 kB / 1.123 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01221/0.512, allocations: 5.557 MB / 1.444 GB, free: 10.43 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.5121, allocations: 11.94 kB / 1.444 GB, free: 10.42 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.5121, allocations: 12 kB / 1.444 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009129/0.5212, allocations: 2.714 MB / 1.447 GB, free: 7.684 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008814/0.5221, allocations: 195.7 kB / 1.447 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03884/0.5609, allocations: 24.99 MB / 1.472 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.5625, allocations: 95.95 kB / 1.472 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.5626, allocations: 59.98 kB / 1.472 GB, free: 13.89 MB / 1.17 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.001214/0.5638, allocations: 0.7365 MB / 1.472 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.5641, allocations: 123.2 kB / 1.473 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.5759, allocations: 5.31 MB / 1.478 GB, free: 7.672 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.5759, allocations: 15.98 kB / 1.478 GB, free: 7.656 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-05/0.5759, allocations: 20 kB / 1.478 GB, free: 7.637 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.5759, allocations: 7.922 kB / 1.478 GB, free: 7.629 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/0.5933, allocations: 8.256 MB / 1.486 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.5933, allocations: 4 kB / 1.486 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.5938, allocations: 119.8 kB / 1.486 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008814/0.6026, allocations: 2.594 MB / 1.488 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/0.6028, allocations: 31.98 kB / 1.489 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03724/0.64, allocations: 23.44 MB / 1.511 GB, free: 4.598 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.64, allocations: 8 kB / 1.511 GB, free: 4.59 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/0.6516, allocations: 5.175 MB / 1.516 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/0.653, allocations: 427 kB / 1.517 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.6532, allocations: 32 kB / 1.517 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009672/0.6542, allocations: 75.89 kB / 1.517 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004862/0.6547, allocations: 128.8 kB / 1.517 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.6548, allocations: 36 kB / 1.517 GB, free: 14.65 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009076/0.6557, allocations: 0.6473 MB / 1.518 GB, free: 14 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6557, allocations: 4 kB / 1.518 GB, free: 14 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002207/0.6579, allocations: 0.7227 MB / 1.518 GB, free: 13.28 MB / 1.217 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.01203/0.6699, allocations: 5.754 MB / 1.524 GB, free: 7.434 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007685/0.6776, allocations: 4.094 MB / 1.528 GB, free: 3.285 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.6776, allocations: 0 / 1.528 GB, free: 3.285 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005691/0.6833, allocations: 2.599 MB / 1.531 GB, free: 0.6328 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.6848, allocations: 224.4 kB / 1.531 GB, free: 436 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04042/0.7252, allocations: 21.35 MB / 1.552 GB, free: 10.61 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.7267, allocations: 1.117 MB / 1.553 GB, free: 9.461 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007961/0.7275, allocations: 325.4 kB / 1.553 GB, free: 9.141 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007336/0.7282, allocations: 0.5344 MB / 1.554 GB, free: 8.605 MB / 1.248 GB Notification: Performance of SimCode: time 1.583e-06/0.7282, allocations: 0 / 1.554 GB, free: 8.605 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/0.8403, allocations: 55.91 MB / 1.608 GB, free: 1.055 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.5, allocations: 2.234 kB / 1.608 GB, free: 1.055 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.863897198811173]