Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001663/0.001663, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002063/0.002063, allocations: 218.6 kB / 22.25 MB, free: 5.105 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.832 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.1/3.1, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.001981/0.001981, allocations: 66.77 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.04288/0.3428, allocations: 22.26 MB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0152/0.358, allocations: 6.446 MB / 1.354 GB, free: 4.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.3597, allocations: 127 kB / 1.354 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004008/0.3637, allocations: 1.508 MB / 1.355 GB, free: 3.113 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004416/0.3681, allocations: 1.945 MB / 1.357 GB, free: 1.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003893/0.372, allocations: 1.464 MB / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01172/0.3837, allocations: 6.905 MB / 1.366 GB, free: 8.766 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006847/0.3906, allocations: 3.761 MB / 1.369 GB, free: 4.906 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004479/0.3951, allocations: 2.929 MB / 1.372 GB, free: 1.969 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00581/0.4009, allocations: 3.743 MB / 1.376 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0009539/0.4018, allocations: 0.5234 MB / 1.376 GB, free: 13.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.4041, allocations: 1.12 MB / 1.377 GB, free: 12.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002674/0.4068, allocations: 2.525 MB / 1.38 GB, free: 10.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004144/0.4109, allocations: 2.062 MB / 1.382 GB, free: 7.969 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.4247, allocations: 8.581 MB / 1.39 GB, free: 15.36 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4248, allocations: 0 / 1.39 GB, free: 15.36 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4248, allocations: 0 / 1.39 GB, free: 15.36 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002723/0.425, allocations: 4 kB / 1.39 GB, free: 15.36 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01443/0.4395, allocations: 4.475 MB / 1.395 GB, free: 10.82 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4395, allocations: 12.02 kB / 1.395 GB, free: 10.81 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001694/0.4412, allocations: 0.5714 MB / 1.395 GB, free: 10.23 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/0.4555, allocations: 1.699 MB / 1.397 GB, free: 8.527 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/0.4657, allocations: 2.672 MB / 1.399 GB, free: 5.812 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/0.4661, allocations: 271.7 kB / 1.4 GB, free: 5.547 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/0.4677, allocations: 364.3 kB / 1.4 GB, free: 5.191 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/0.4877, allocations: 7.709 MB / 1.408 GB, free: 13.16 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.4878, allocations: 19.83 kB / 1.408 GB, free: 13.14 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007271/0.4885, allocations: 155.9 kB / 1.408 GB, free: 12.99 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009762/0.4895, allocations: 487.3 kB / 1.408 GB, free: 12.51 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.504, allocations: 5.701 MB / 1.414 GB, free: 6.805 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03085/0.5348, allocations: 20.55 MB / 1.434 GB, free: 1.777 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.5377, allocations: 2.012 MB / 1.436 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/0.5407, allocations: 2.108 MB / 1.438 GB, free: 13.64 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.5408, allocations: 13.31 kB / 1.438 GB, free: 13.63 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.5409, allocations: 51.86 kB / 1.438 GB, free: 13.57 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 4.087e-06/0.5409, allocations: 3.938 kB / 1.438 GB, free: 13.57 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.2872/0.8281, allocations: 76.71 MB / 1.513 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.8281, allocations: 81.34 kB / 1.513 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/0.831, allocations: 1.705 MB / 1.515 GB, free: 14.89 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000451/0.8315, allocations: 65.7 kB / 1.515 GB, free: 14.82 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/0.8328, allocations: 1.795 MB / 1.516 GB, free: 13.01 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.834, allocations: 0.8946 MB / 1.517 GB, free: 12.11 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.8353, allocations: 497.3 kB / 1.518 GB, free: 11.61 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8354, allocations: 301.1 kB / 1.518 GB, free: 11.32 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004199/0.8396, allocations: 2.726 MB / 1.521 GB, free: 8.586 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004669/0.8443, allocations: 3.332 MB / 1.524 GB, free: 5.004 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009279/0.8536, allocations: 6.39 MB / 1.53 GB, free: 14.37 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/0.8536, allocations: 7.938 kB / 1.53 GB, free: 14.36 MB / 1.233 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03413/0.8877, allocations: 14.41 MB / 1.544 GB, free: 15.9 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.8877, allocations: 12 kB / 1.544 GB, free: 15.89 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.8878, allocations: 16 kB / 1.544 GB, free: 15.87 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03101/0.9188, allocations: 9.197 MB / 1.553 GB, free: 6.652 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.92, allocations: 303.4 kB / 1.554 GB, free: 6.355 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08209/1.002, allocations: 51.04 MB / 1.603 GB, free: 2.586 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/1.005, allocations: 223.7 kB / 1.604 GB, free: 2.367 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002788/1.005, allocations: 104 kB / 1.604 GB, free: 2.266 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002537/1.007, allocations: 1.583 MB / 1.605 GB, free: 0.6719 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005289/1.008, allocations: 258.6 kB / 1.606 GB, free: 428 kB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6338/1.642, allocations: 14.47 MB / 1.62 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.267e-05/1.642, allocations: 24.38 kB / 1.62 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000182/1.642, allocations: 44.5 kB / 1.62 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.202e-05/1.642, allocations: 11.05 kB / 1.62 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03708/1.679, allocations: 19.53 MB / 1.639 GB, free: 252.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.679, allocations: 5.625 kB / 1.639 GB, free: 252.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007177/1.68, allocations: 163.1 kB / 1.639 GB, free: 252.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02539/1.705, allocations: 8.978 MB / 1.648 GB, free: 249.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004487/1.706, allocations: 55.3 kB / 1.648 GB, free: 249 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06062/1.766, allocations: 50.6 MB / 1.697 GB, free: 202.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.766, allocations: 15.94 kB / 1.697 GB, free: 202.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02617/1.793, allocations: 14.08 MB / 1.711 GB, free: 188.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00264/1.795, allocations: 0.7787 MB / 1.712 GB, free: 187.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007512/1.796, allocations: 55.94 kB / 1.712 GB, free: 187.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.798, allocations: 209.1 kB / 1.712 GB, free: 187.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/1.799, allocations: 249.3 kB / 1.712 GB, free: 187 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/1.799, allocations: 67.98 kB / 1.712 GB, free: 186.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001218/1.801, allocations: 1.129 MB / 1.713 GB, free: 185.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.801, allocations: 0 / 1.713 GB, free: 185.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004077/1.805, allocations: 1.613 MB / 1.715 GB, free: 184.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02599/1.831, allocations: 14.72 MB / 1.729 GB, free: 169.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0179/1.849, allocations: 10.2 MB / 1.739 GB, free: 159 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.849, allocations: 0 / 1.739 GB, free: 159 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.014/1.863, allocations: 7.012 MB / 1.746 GB, free: 152 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.865, allocations: 0.5642 MB / 1.747 GB, free: 151.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07873/1.944, allocations: 50.5 MB / 1.796 GB, free: 99.91 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/1.947, allocations: 2.673 MB / 1.799 GB, free: 97.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009472/1.948, allocations: 395.3 kB / 1.799 GB, free: 96.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/1.949, allocations: 1.46 MB / 1.8 GB, free: 95.34 MB / 1.295 GB Notification: Performance of SimCode: time 1.252e-06/1.949, allocations: 0 / 1.8 GB, free: 95.34 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1716/2.12, allocations: 130.3 MB / 1.928 GB, free: 13.77 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/16.47, allocations: 12.02 kB / 1.928 GB, free: 13.76 MB / 1.342 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 23.506005036004353]