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.001833/0.001833, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00253/0.00253, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.945 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.237/3.237, allocations: 0.505 GB / 0.8101 GB, free: 22 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.001953/0.001953, allocations: 69.2 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3698, allocations: 180.2 MB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04555/0.4153, allocations: 36.66 MB / 1.389 GB, free: 3.613 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02104/0.4363, allocations: 11.98 MB / 1.4 GB, free: 7.602 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003662/0.44, allocations: 210.4 kB / 1.401 GB, free: 7.395 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01167/0.4517, allocations: 4.454 MB / 1.405 GB, free: 2.93 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006789/0.4585, allocations: 2.092 MB / 1.407 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007244/0.4657, allocations: 2.475 MB / 1.409 GB, free: 14.36 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01247/0.4782, allocations: 8.465 MB / 1.418 GB, free: 5.863 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01374/0.4919, allocations: 6.239 MB / 1.424 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007112/0.499, allocations: 3.845 MB / 1.428 GB, free: 11.65 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007957/0.507, allocations: 4.428 MB / 1.432 GB, free: 7.207 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002611/0.5096, allocations: 0.7812 MB / 1.433 GB, free: 6.426 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0057/0.5153, allocations: 2.063 MB / 1.435 GB, free: 4.359 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00551/0.5208, allocations: 3.141 MB / 1.438 GB, free: 1.211 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.009029/0.5298, allocations: 3.4 MB / 1.441 GB, free: 13.8 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01891/0.5488, allocations: 12.01 MB / 1.453 GB, free: 1.75 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.5488, allocations: 0 / 1.453 GB, free: 1.75 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5488, allocations: 0 / 1.453 GB, free: 1.75 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.000421/0.5492, allocations: 0 / 1.453 GB, free: 1.75 MB / 1.139 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.01613/0.5653, allocations: 5.867 MB / 1.458 GB, free: 11.82 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.5654, allocations: 8.031 kB / 1.458 GB, free: 11.81 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002565/0.5679, allocations: 0.8012 MB / 1.459 GB, free: 11 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007015/0.575, allocations: 1.098 MB / 1.46 GB, free: 9.898 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008562/0.5835, allocations: 3.411 MB / 1.464 GB, free: 6.422 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/0.5839, allocations: 415.5 kB / 1.464 GB, free: 6.016 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/0.5858, allocations: 0.5432 MB / 1.465 GB, free: 5.473 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.6053, allocations: 9.071 MB / 1.473 GB, free: 12.08 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.6055, allocations: 27.83 kB / 1.473 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008119/0.6063, allocations: 240 kB / 1.474 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003836/0.6067, allocations: 346.8 kB / 1.474 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/0.6202, allocations: 6.83 MB / 1.481 GB, free: 4.641 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05058/0.6707, allocations: 39.51 MB / 1.519 GB, free: 9.402 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/0.6747, allocations: 2.298 MB / 1.522 GB, free: 7.109 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002909/0.6776, allocations: 1.775 MB / 1.523 GB, free: 5.336 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.6778, allocations: 18 kB / 1.523 GB, free: 5.316 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.6778, allocations: 52.56 kB / 1.523 GB, free: 5.258 MB / 1.217 GB Notification: Performance of pre-optimization done (n=179): time 4.238e-06/0.6778, allocations: 0 / 1.523 GB, free: 5.258 MB / 1.217 GB Notification: Performance of matching and sorting (n=182): time 0.02596/0.7038, allocations: 9.69 MB / 1.533 GB, free: 11.55 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.7039, allocations: 73.39 kB / 1.533 GB, free: 11.46 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.7063, allocations: 1.526 MB / 1.534 GB, free: 9.895 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.7064, allocations: 57.7 kB / 1.534 GB, free: 9.832 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.7082, allocations: 2.32 MB / 1.537 GB, free: 7.488 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006999/0.7089, allocations: 0.6623 MB / 1.537 GB, free: 6.82 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000666/0.7095, allocations: 416.1 kB / 1.538 GB, free: 6.406 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.7097, allocations: 305.1 kB / 1.538 GB, free: 6.105 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.7114, allocations: 1.176 MB / 1.539 GB, free: 4.926 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/0.7138, allocations: 1.885 MB / 1.541 GB, free: 2.723 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004533/0.7183, allocations: 3.379 MB / 1.544 GB, free: 15.03 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.329e-05/0.7184, allocations: 8 kB / 1.544 GB, free: 15.02 MB / 1.248 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008347/0.7267, allocations: 4.527 MB / 1.549 GB, free: 10.47 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.7268, allocations: 17.41 kB / 1.549 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.149e-05/0.7268, allocations: 24 kB / 1.549 GB, free: 10.43 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003881/0.7307, allocations: 1.574 MB / 1.55 GB, free: 8.852 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.732, allocations: 359.3 kB / 1.551 GB, free: 8.5 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02645/0.7584, allocations: 18.21 MB / 1.568 GB, free: 5.836 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.7607, allocations: 119.9 kB / 1.569 GB, free: 5.719 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004909/0.7612, allocations: 92 kB / 1.569 GB, free: 5.629 MB / 1.264 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.00481/0.766, allocations: 1.902 MB / 1.57 GB, free: 3.715 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000787/0.7668, allocations: 238.5 kB / 1.571 GB, free: 3.48 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008277/0.7751, allocations: 4.039 MB / 1.575 GB, free: 15.41 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.7751, allocations: 20 kB / 1.575 GB, free: 15.39 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.496e-05/0.7752, allocations: 16 kB / 1.575 GB, free: 15.38 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.7752, allocations: 15.89 kB / 1.575 GB, free: 15.36 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/0.7947, allocations: 9.395 MB / 1.584 GB, free: 5.715 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.7947, allocations: 8.031 kB / 1.584 GB, free: 5.707 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/0.7955, allocations: 187.6 kB / 1.584 GB, free: 5.523 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003438/0.799, allocations: 1.351 MB / 1.585 GB, free: 4.164 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.7992, allocations: 32 kB / 1.585 GB, free: 4.133 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02255/0.8217, allocations: 16.97 MB / 1.602 GB, free: 2.703 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/0.8217, allocations: 7.938 kB / 1.602 GB, free: 2.695 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6851/1.507, allocations: 4.027 MB / 1.606 GB, free: 229.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/1.509, allocations: 471.9 kB / 1.606 GB, free: 229.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00039/1.509, allocations: 36.83 kB / 1.606 GB, free: 229.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009822/1.51, allocations: 92.61 kB / 1.606 GB, free: 229.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005805/1.511, allocations: 172.2 kB / 1.607 GB, free: 229.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.511, allocations: 46.22 kB / 1.607 GB, free: 229.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00173/1.512, allocations: 1.009 MB / 1.608 GB, free: 229.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.61e-07/1.512, allocations: 0.7188 kB / 1.608 GB, free: 229.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003775/1.516, allocations: 0.9846 MB / 1.609 GB, free: 229.8 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.007805/1.524, allocations: 4.628 MB / 1.613 GB, free: 228.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007404/1.531, allocations: 4.161 MB / 1.617 GB, free: 227.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/1.531, allocations: 3.094 kB / 1.617 GB, free: 227.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005257/1.537, allocations: 2.582 MB / 1.62 GB, free: 226.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/1.54, allocations: 0.787 MB / 1.621 GB, free: 226.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04505/1.585, allocations: 27.01 MB / 1.647 GB, free: 213.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003674/1.589, allocations: 3.575 MB / 1.65 GB, free: 212 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001346/1.591, allocations: 472.3 kB / 1.651 GB, free: 212 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.592, allocations: 1.783 MB / 1.653 GB, free: 210.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.032e-06/1.592, allocations: 0 / 1.653 GB, free: 210.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/1.709, allocations: 76.49 MB / 1.727 GB, free: 144.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.78, allocations: 4.875 kB / 1.727 GB, free: 144.2 MB / 1.295 GB " [Timeout remaining time 283] (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: 24.252632037037984]