Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002112/0.002112, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.00243/0.00243, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.558/1.558, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.986/2.986, allocations: 476.7 MB / 0.7678 GB, free: 9.324 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.00212/0.00212, allocations: 67.91 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9397/0.9418, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03086/0.9727, allocations: 23.79 MB / 1.302 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.9865, allocations: 6.584 MB / 1.309 GB, free: 6.957 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/0.989, allocations: 129.6 kB / 1.309 GB, free: 6.895 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0044/0.9934, allocations: 1.526 MB / 1.31 GB, free: 6.008 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005504/0.9989, allocations: 1.937 MB / 1.312 GB, free: 4.891 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004472/1.003, allocations: 1.469 MB / 1.314 GB, free: 4.094 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01003/1.013, allocations: 6.907 MB / 1.32 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008541/1.022, allocations: 5.182 MB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005515/1.027, allocations: 2.915 MB / 1.328 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006182/1.034, allocations: 3.739 MB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001015/1.035, allocations: 0.5278 MB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/1.037, allocations: 1.2 MB / 1.334 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002978/1.04, allocations: 2.532 MB / 1.336 GB, free: 9.535 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003927/1.044, allocations: 2.537 MB / 1.338 GB, free: 7.773 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/1.055, allocations: 8.536 MB / 1.347 GB, free: 1.672 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.055, allocations: 1.562 kB / 1.347 GB, free: 1.672 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/1.055, allocations: 0 / 1.347 GB, free: 1.672 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001955/1.055, allocations: 0 / 1.347 GB, free: 1.672 MB / 1.029 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.01005/1.065, allocations: 4.549 MB / 1.351 GB, free: 14.54 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.065, allocations: 9.938 kB / 1.351 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001338/1.065, allocations: 103.1 kB / 1.351 GB, free: 14.53 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009309/1.066, allocations: 0.5718 MB / 1.352 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009558/1.076, allocations: 1.709 MB / 1.354 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006827/1.082, allocations: 2.708 MB / 1.356 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/1.083, allocations: 283.2 kB / 1.357 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008435/1.084, allocations: 356 kB / 1.357 GB, free: 11.26 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/1.096, allocations: 7.493 MB / 1.364 GB, free: 4.535 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.97e-05/1.097, allocations: 19.83 kB / 1.364 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004793/1.097, allocations: 155.9 kB / 1.364 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006415/1.098, allocations: 487.3 kB / 1.365 GB, free: 3.887 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009769/1.107, allocations: 5.697 MB / 1.37 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04101/1.148, allocations: 31.54 MB / 1.401 GB, free: 11.88 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/1.152, allocations: 2.027 MB / 1.403 GB, free: 9.844 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003119/1.155, allocations: 2.108 MB / 1.405 GB, free: 7.73 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/1.155, allocations: 13.31 kB / 1.405 GB, free: 7.715 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/1.155, allocations: 47.88 kB / 1.405 GB, free: 7.66 MB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 3.777e-06/1.155, allocations: 0 / 1.405 GB, free: 7.66 MB / 1.092 GB Notification: Performance of matching and sorting (n=251): time 0.3423/1.497, allocations: 76.8 MB / 1.48 GB, free: 10.72 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/1.497, allocations: 85.34 kB / 1.48 GB, free: 10.62 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/1.5, allocations: 1.67 MB / 1.482 GB, free: 8.906 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005207/1.501, allocations: 61.7 kB / 1.482 GB, free: 8.84 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001672/1.502, allocations: 1.795 MB / 1.484 GB, free: 7.031 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/1.504, allocations: 0.8985 MB / 1.485 GB, free: 6.125 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/1.505, allocations: 485.4 kB / 1.485 GB, free: 5.645 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.505, allocations: 301.1 kB / 1.485 GB, free: 5.348 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004779/1.51, allocations: 2.734 MB / 1.488 GB, free: 2.609 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005563/1.515, allocations: 3.332 MB / 1.491 GB, free: 15.03 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.526, allocations: 6.393 MB / 1.498 GB, free: 8.395 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.851e-05/1.526, allocations: 4 kB / 1.498 GB, free: 8.391 MB / 1.186 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03688/1.563, allocations: 14.41 MB / 1.512 GB, free: 9.93 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/1.563, allocations: 12 kB / 1.512 GB, free: 9.918 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.455e-05/1.563, allocations: 19.94 kB / 1.512 GB, free: 9.898 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03353/1.597, allocations: 9.242 MB / 1.521 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.598, allocations: 299.5 kB / 1.521 GB, free: 348 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09621/1.694, allocations: 52.41 MB / 1.572 GB, free: 11.04 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/1.698, allocations: 219.8 kB / 1.572 GB, free: 10.82 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/1.698, allocations: 103.9 kB / 1.572 GB, free: 10.72 MB / 1.264 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.003457/1.701, allocations: 1.578 MB / 1.574 GB, free: 9.133 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007094/1.702, allocations: 262.5 kB / 1.574 GB, free: 8.875 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03727/1.739, allocations: 14.47 MB / 1.588 GB, free: 10.35 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-05/1.739, allocations: 24 kB / 1.588 GB, free: 10.32 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000268/1.74, allocations: 44 kB / 1.588 GB, free: 10.28 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.343e-05/1.74, allocations: 11.95 kB / 1.588 GB, free: 10.27 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04904/1.789, allocations: 20.23 MB / 1.608 GB, free: 5.832 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/1.789, allocations: 4 kB / 1.608 GB, free: 5.828 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/1.79, allocations: 167.6 kB / 1.608 GB, free: 5.664 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03277/1.822, allocations: 9.012 MB / 1.617 GB, free: 12.62 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005319/1.823, allocations: 48 kB / 1.617 GB, free: 12.58 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09337/1.916, allocations: 51.97 MB / 1.668 GB, free: 7.746 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.916, allocations: 11.94 kB / 1.668 GB, free: 7.734 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03609/1.952, allocations: 14.1 MB / 1.682 GB, free: 9.496 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/1.955, allocations: 0.8549 MB / 1.683 GB, free: 8.621 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005294/1.955, allocations: 48 kB / 1.683 GB, free: 8.574 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/1.958, allocations: 207.7 kB / 1.683 GB, free: 8.371 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001471/1.959, allocations: 253.1 kB / 1.683 GB, free: 8.121 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002451/1.959, allocations: 64 kB / 1.683 GB, free: 8.059 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.001779/1.961, allocations: 1.129 MB / 1.684 GB, free: 6.906 MB / 1.373 GB Notification: Performance of sort global known variables: time 1.01e-07/1.961, allocations: 0 / 1.684 GB, free: 6.906 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.004888/1.966, allocations: 1.613 MB / 1.686 GB, free: 5.293 MB / 1.373 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.03547/2.002, allocations: 14.71 MB / 1.7 GB, free: 6.434 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.02553/2.027, allocations: 10.21 MB / 1.71 GB, free: 12.15 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/2.027, allocations: 0 / 1.71 GB, free: 12.15 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.01999/2.047, allocations: 6.997 MB / 1.717 GB, free: 5.074 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/2.051, allocations: 0.5659 MB / 1.718 GB, free: 4.52 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/2.169, allocations: 50.4 MB / 1.767 GB, free: 1.031 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005526/2.175, allocations: 3.228 MB / 1.77 GB, free: 13.77 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.001392/2.176, allocations: 395.3 kB / 1.77 GB, free: 13.38 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002123/2.178, allocations: 1.464 MB / 1.772 GB, free: 11.91 MB / 1.467 GB Notification: Performance of SimCode: time 1.803e-06/2.178, allocations: 0 / 1.772 GB, free: 11.91 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9041/3.083, allocations: 121.8 MB / 1.891 GB, free: 489.9 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/18.64, allocations: 8.078 kB / 1.891 GB, free: 489.9 MB / 1.514 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 26.253815704025328]