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.001649/0.001649, allocations: 104.3 kB / 16.45 MB, free: 6.387 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.001755/0.001755, allocations: 218.3 kB / 19.43 MB, free: 3.727 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.107/3.107, allocations: 0.49 GB / 0.7916 GB, free: 33.31 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.002035/0.002035, allocations: 75.83 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3394, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03145/0.3709, allocations: 23.79 MB / 1.344 GB, free: 11.49 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.3827, allocations: 6.585 MB / 1.35 GB, free: 4.883 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.3847, allocations: 131.1 kB / 1.351 GB, free: 4.754 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004249/0.3889, allocations: 1.527 MB / 1.352 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00515/0.3941, allocations: 1.933 MB / 1.354 GB, free: 1.281 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.3984, allocations: 1.46 MB / 1.355 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009419/0.4078, allocations: 6.916 MB / 1.362 GB, free: 8.883 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008961/0.4167, allocations: 5.181 MB / 1.367 GB, free: 3.609 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004955/0.4217, allocations: 2.917 MB / 1.37 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005939/0.4276, allocations: 3.739 MB / 1.374 GB, free: 12.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001701/0.4293, allocations: 0.5273 MB / 1.374 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003569/0.4329, allocations: 1.201 MB / 1.375 GB, free: 11.2 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004145/0.437, allocations: 2.521 MB / 1.378 GB, free: 8.676 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005179/0.4422, allocations: 2.536 MB / 1.38 GB, free: 6.129 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.4548, allocations: 8.542 MB / 1.389 GB, free: 13.56 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.4548, allocations: 0 / 1.389 GB, free: 13.56 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4548, allocations: 0 / 1.389 GB, free: 13.56 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002932/0.4551, allocations: 3.938 kB / 1.389 GB, free: 13.55 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.01534/0.4705, allocations: 4.543 MB / 1.393 GB, free: 8.938 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.4705, allocations: 11.98 kB / 1.393 GB, free: 8.926 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002044/0.4726, allocations: 0.5714 MB / 1.394 GB, free: 8.344 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.4827, allocations: 1.711 MB / 1.395 GB, free: 6.629 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007007/0.4897, allocations: 2.717 MB / 1.398 GB, free: 3.859 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003415/0.49, allocations: 271.7 kB / 1.398 GB, free: 3.594 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.4917, allocations: 360.3 kB / 1.399 GB, free: 3.242 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/0.5099, allocations: 7.494 MB / 1.406 GB, free: 11.48 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.51, allocations: 11.88 kB / 1.406 GB, free: 11.47 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/0.5113, allocations: 159.9 kB / 1.406 GB, free: 11.31 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007612/0.5121, allocations: 491.3 kB / 1.407 GB, free: 10.83 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.5249, allocations: 5.693 MB / 1.412 GB, free: 5.133 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04704/0.5719, allocations: 31.53 MB / 1.443 GB, free: 2.832 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.5752, allocations: 2.027 MB / 1.445 GB, free: 0.793 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003574/0.5788, allocations: 2.108 MB / 1.447 GB, free: 14.68 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.5791, allocations: 13.31 kB / 1.447 GB, free: 14.67 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.5791, allocations: 47.86 kB / 1.447 GB, free: 14.61 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 3.717e-06/0.5791, allocations: 4 kB / 1.447 GB, free: 14.61 MB / 1.154 GB Notification: Performance of matching and sorting (n=251): time 0.3243/0.9034, allocations: 76.81 MB / 1.522 GB, free: 1.664 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.9035, allocations: 77.41 kB / 1.522 GB, free: 1.574 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/0.9061, allocations: 1.67 MB / 1.524 GB, free: 15.86 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005466/0.9067, allocations: 65.69 kB / 1.524 GB, free: 15.79 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.908, allocations: 1.799 MB / 1.526 GB, free: 13.97 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/0.9092, allocations: 0.8946 MB / 1.526 GB, free: 13.07 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.9103, allocations: 485.4 kB / 1.527 GB, free: 12.59 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9105, allocations: 305.1 kB / 1.527 GB, free: 12.29 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/0.9148, allocations: 2.726 MB / 1.53 GB, free: 9.559 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004911/0.9197, allocations: 3.332 MB / 1.533 GB, free: 5.984 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00983/0.9295, allocations: 6.397 MB / 1.539 GB, free: 15.34 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/0.9295, allocations: 8 kB / 1.539 GB, free: 15.34 MB / 1.248 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03478/0.9643, allocations: 14.4 MB / 1.553 GB, free: 0.8828 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.9644, allocations: 12 kB / 1.553 GB, free: 0.8711 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/0.9644, allocations: 20 kB / 1.553 GB, free: 0.8516 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03085/0.9952, allocations: 9.24 MB / 1.562 GB, free: 7.586 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.9965, allocations: 303.5 kB / 1.563 GB, free: 7.289 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8411/1.838, allocations: 52.38 MB / 1.614 GB, free: 250 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003229/1.841, allocations: 225.5 kB / 1.614 GB, free: 250 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/1.841, allocations: 97.11 kB / 1.614 GB, free: 250 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.003416/1.845, allocations: 1.588 MB / 1.616 GB, free: 249.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000621/1.845, allocations: 253 kB / 1.616 GB, free: 249.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03301/1.878, allocations: 14.48 MB / 1.63 GB, free: 245.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/1.878, allocations: 28.38 kB / 1.63 GB, free: 245.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001738/1.879, allocations: 43.94 kB / 1.63 GB, free: 245.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.644e-05/1.879, allocations: 12.62 kB / 1.63 GB, free: 245.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03652/1.915, allocations: 20.24 MB / 1.65 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/1.915, allocations: 5.719 kB / 1.65 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/1.916, allocations: 169.8 kB / 1.65 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02679/1.943, allocations: 8.997 MB / 1.659 GB, free: 235.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000587/1.943, allocations: 50.28 kB / 1.659 GB, free: 235.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06598/2.009, allocations: 51.98 MB / 1.71 GB, free: 183.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/2.009, allocations: 11.94 kB / 1.71 GB, free: 183.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02704/2.036, allocations: 14.09 MB / 1.724 GB, free: 169.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/2.038, allocations: 0.8546 MB / 1.724 GB, free: 168.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005367/2.039, allocations: 62.17 kB / 1.724 GB, free: 168.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/2.041, allocations: 203.7 kB / 1.725 GB, free: 168.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001284/2.042, allocations: 245.5 kB / 1.725 GB, free: 168.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/2.042, allocations: 64 kB / 1.725 GB, free: 168.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001229/2.043, allocations: 1.125 MB / 1.726 GB, free: 167.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.7e-07/2.043, allocations: 0 / 1.726 GB, free: 167.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004376/2.048, allocations: 1.613 MB / 1.728 GB, free: 165.5 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.02738/2.075, allocations: 14.7 MB / 1.742 GB, free: 150.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02045/2.096, allocations: 10.2 MB / 1.752 GB, free: 140.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/2.096, allocations: 192 / 1.752 GB, free: 140.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01571/2.111, allocations: 7.013 MB / 1.759 GB, free: 133.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/2.114, allocations: 0.5632 MB / 1.759 GB, free: 132.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08273/2.197, allocations: 50.4 MB / 1.809 GB, free: 81.36 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002912/2.2, allocations: 3.22 MB / 1.812 GB, free: 78.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009695/2.201, allocations: 391.3 kB / 1.812 GB, free: 77.71 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/2.202, allocations: 1.468 MB / 1.813 GB, free: 76.25 MB / 1.295 GB Notification: Performance of SimCode: time 9.51e-07/2.202, allocations: 4 kB / 1.813 GB, free: 76.24 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1847/2.387, allocations: 121.8 MB / 1.932 GB, free: 2.949 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/17.24, allocations: 11.88 kB / 1.932 GB, free: 2.938 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: 24.363329737912863]