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.001717/0.001717, allocations: 113 kB / 19.73 MB, free: 2.227 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.002104/0.002104, allocations: 211.3 kB / 23.04 MB, free: 5.066 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.135/3.135, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_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_latest_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.001881/0.001881, allocations: 60.47 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3227, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01327/0.3359, allocations: 10.46 MB / 1.356 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005537/0.3415, allocations: 3.162 MB / 1.359 GB, free: 2.785 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005615/0.342, allocations: 47.69 kB / 1.359 GB, free: 2.738 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.3439, allocations: 0.7231 MB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.3453, allocations: 0.7195 MB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3467, allocations: 0.6586 MB / 1.361 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003338/0.35, allocations: 2.746 MB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/0.3519, allocations: 1.375 MB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.3535, allocations: 1.153 MB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.3556, allocations: 1.5 MB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003348/0.3559, allocations: 216 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.3569, allocations: 499.3 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.358, allocations: 1.005 MB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.3594, allocations: 1.011 MB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.3636, allocations: 3.423 MB / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3636, allocations: 0 / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3636, allocations: 0 / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.539e-05/0.3637, allocations: 4 kB / 1.373 GB, free: 3.633 MB / 1.061 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.004458/0.3682, allocations: 1.905 MB / 1.375 GB, free: 1.688 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3682, allocations: 8.031 kB / 1.375 GB, free: 1.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.419e-05/0.3683, allocations: 51.06 kB / 1.375 GB, free: 1.629 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003611/0.3687, allocations: 248.7 kB / 1.376 GB, free: 1.375 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005706/0.3744, allocations: 0.8931 MB / 1.376 GB, free: 492 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.3768, allocations: 1.123 MB / 1.377 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.559e-05/0.3769, allocations: 111.3 kB / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/0.3773, allocations: 146 kB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005089/0.3824, allocations: 3.017 MB / 1.381 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/0.3824, allocations: 7.938 kB / 1.381 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.3826, allocations: 63.97 kB / 1.381 GB, free: 11.89 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002314/0.3828, allocations: 175 kB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00442/0.3872, allocations: 2.608 MB / 1.383 GB, free: 9.102 MB / 1.076 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.01737/0.4046, allocations: 13.39 MB / 1.397 GB, free: 10.62 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.4066, allocations: 1.219 MB / 1.398 GB, free: 9.391 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.408, allocations: 0.9915 MB / 1.399 GB, free: 8.395 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.744e-05/0.4081, allocations: 8.656 kB / 1.399 GB, free: 8.387 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4081, allocations: 39.22 kB / 1.399 GB, free: 8.34 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.4081, allocations: 0 / 1.399 GB, free: 8.34 MB / 1.092 GB Notification: Performance of matching and sorting (n=139): time 0.07612/0.4842, allocations: 18.9 MB / 1.417 GB, free: 5.422 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.4843, allocations: 68.72 kB / 1.417 GB, free: 5.34 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.4857, allocations: 0.9106 MB / 1.418 GB, free: 4.422 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002526/0.4859, allocations: 53.69 kB / 1.418 GB, free: 4.363 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005903/0.4865, allocations: 0.7462 MB / 1.419 GB, free: 3.605 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006833/0.4872, allocations: 0.5034 MB / 1.419 GB, free: 3.098 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000686/0.4879, allocations: 291.5 kB / 1.42 GB, free: 2.805 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4881, allocations: 357.9 kB / 1.42 GB, free: 2.449 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.4901, allocations: 1.331 MB / 1.421 GB, free: 1.117 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.4925, allocations: 1.659 MB / 1.423 GB, free: 15.34 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004665/0.4972, allocations: 3.09 MB / 1.426 GB, free: 12.13 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.4972, allocations: 7.938 kB / 1.426 GB, free: 12.12 MB / 1.123 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0131/0.5103, allocations: 5.557 MB / 1.431 GB, free: 6.543 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.5103, allocations: 12 kB / 1.431 GB, free: 6.531 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.5104, allocations: 11.94 kB / 1.431 GB, free: 6.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009421/0.5198, allocations: 2.71 MB / 1.434 GB, free: 3.797 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008669/0.5206, allocations: 195.7 kB / 1.434 GB, free: 3.605 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0409/0.5615, allocations: 25.35 MB / 1.459 GB, free: 9.793 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.5632, allocations: 95.94 kB / 1.459 GB, free: 9.699 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003324/0.5635, allocations: 56 kB / 1.459 GB, free: 9.645 MB / 1.154 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.001515/0.5651, allocations: 0.7354 MB / 1.46 GB, free: 8.898 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/0.5654, allocations: 115.3 kB / 1.46 GB, free: 8.785 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.5777, allocations: 5.318 MB / 1.465 GB, free: 3.434 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.5777, allocations: 16 kB / 1.465 GB, free: 3.418 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.943e-05/0.5778, allocations: 16 kB / 1.465 GB, free: 3.402 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/0.5778, allocations: 3.984 kB / 1.465 GB, free: 3.398 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/0.5962, allocations: 8.598 MB / 1.474 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.567e-05/0.5963, allocations: 4 kB / 1.474 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.5968, allocations: 123.8 kB / 1.474 GB, free: 10.56 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009178/0.606, allocations: 2.578 MB / 1.476 GB, free: 7.969 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002958/0.6063, allocations: 32 kB / 1.476 GB, free: 7.938 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0381/0.6444, allocations: 23.78 MB / 1.499 GB, free: 15.69 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.6444, allocations: 11.88 kB / 1.499 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.6562, allocations: 5.179 MB / 1.505 GB, free: 10.42 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.6574, allocations: 423.3 kB / 1.505 GB, free: 10 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/0.6577, allocations: 31.94 kB / 1.505 GB, free: 9.973 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.6588, allocations: 79.84 kB / 1.505 GB, free: 9.895 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005929/0.6594, allocations: 125 kB / 1.505 GB, free: 9.77 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.6596, allocations: 43.94 kB / 1.505 GB, free: 9.727 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001106/0.6607, allocations: 0.6434 MB / 1.506 GB, free: 9.09 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6607, allocations: 0 / 1.506 GB, free: 9.09 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002813/0.6635, allocations: 0.7227 MB / 1.507 GB, free: 8.367 MB / 1.201 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.01207/0.6755, allocations: 5.753 MB / 1.512 GB, free: 2.523 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007685/0.6832, allocations: 4.092 MB / 1.516 GB, free: 14.38 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.6832, allocations: 0 / 1.516 GB, free: 14.38 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0055/0.6887, allocations: 2.603 MB / 1.519 GB, free: 11.73 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.6902, allocations: 220.8 kB / 1.519 GB, free: 11.52 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04204/0.7323, allocations: 21.35 MB / 1.54 GB, free: 5.711 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002493/0.7348, allocations: 1.707 MB / 1.541 GB, free: 3.969 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009197/0.7357, allocations: 333.4 kB / 1.542 GB, free: 3.641 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00094/0.7366, allocations: 0.5305 MB / 1.542 GB, free: 3.109 MB / 1.232 GB Notification: Performance of SimCode: time 1.703e-06/0.7366, allocations: 0 / 1.542 GB, free: 3.109 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1344/0.871, allocations: 54.62 MB / 1.596 GB, free: 12.73 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.48, allocations: 8 kB / 1.596 GB, free: 12.73 MB / 1.295 GB " [Timeout remaining time 285] (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: 22.054203019011766]