Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.471/2.471, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 75.83 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7582/0.7599, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03942/0.7993, allocations: 39.29 MB / 1.31 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.8221, allocations: 13.58 MB / 1.323 GB, free: 4.551 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003907/0.826, allocations: 170.8 kB / 1.323 GB, free: 4.496 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0097/0.8357, allocations: 4.037 MB / 1.327 GB, free: 2.133 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007328/0.843, allocations: 2.61 MB / 1.33 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007053/0.85, allocations: 2.774 MB / 1.332 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01268/0.8627, allocations: 9.567 MB / 1.342 GB, free: 10.64 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009387/0.8721, allocations: 5.254 MB / 1.347 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00694/0.8791, allocations: 4.068 MB / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008518/0.8876, allocations: 4.671 MB / 1.355 GB, free: 3.457 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002459/0.89, allocations: 0.7708 MB / 1.356 GB, free: 3.457 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.8954, allocations: 1.813 MB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004886/0.9003, allocations: 3.117 MB / 1.361 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.007817/0.9081, allocations: 3.58 MB / 1.364 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.9224, allocations: 11.88 MB / 1.376 GB, free: 5.746 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.9224, allocations: 5.062 kB / 1.376 GB, free: 5.742 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9224, allocations: 0 / 1.376 GB, free: 5.742 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002788/0.9227, allocations: 3.938 kB / 1.376 GB, free: 5.738 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01707/0.9397, allocations: 6.515 MB / 1.382 GB, free: 1.387 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.9398, allocations: 9.875 kB / 1.382 GB, free: 1.387 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001635/0.9414, allocations: 0.749 MB / 1.383 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008037/0.9495, allocations: 1.331 MB / 1.384 GB, free: 216 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007513/0.957, allocations: 3.807 MB / 1.388 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.9573, allocations: 382.5 kB / 1.389 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.9585, allocations: 0.4964 MB / 1.389 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.9741, allocations: 8.882 MB / 1.398 GB, free: 3.078 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.9742, allocations: 39.7 kB / 1.398 GB, free: 3.039 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006461/0.9748, allocations: 223.9 kB / 1.398 GB, free: 2.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002193/0.977, allocations: 0.6303 MB / 1.399 GB, free: 2.188 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.9902, allocations: 7.01 MB / 1.405 GB, free: 11.16 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04958/1.04, allocations: 40.12 MB / 1.445 GB, free: 15.81 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/1.044, allocations: 2.652 MB / 1.447 GB, free: 13.14 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003616/1.047, allocations: 2.417 MB / 1.45 GB, free: 10.72 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/1.048, allocations: 30.09 kB / 1.45 GB, free: 10.69 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.008e-05/1.048, allocations: 72.59 kB / 1.45 GB, free: 10.61 MB / 1.139 GB Notification: Performance of pre-optimization done (n=265): time 3.787e-06/1.048, allocations: 0 / 1.45 GB, free: 10.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=424): time 0.2826/1.33, allocations: 74.59 MB / 1.523 GB, free: 15.37 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/1.33, allocations: 98.73 kB / 1.523 GB, free: 15.26 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/1.334, allocations: 2.363 MB / 1.525 GB, free: 12.88 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0007042/1.334, allocations: 97.7 kB / 1.525 GB, free: 12.78 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/1.336, allocations: 2.395 MB / 1.527 GB, free: 10.37 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00175/1.338, allocations: 1.51 MB / 1.529 GB, free: 8.844 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/1.339, allocations: 0.7217 MB / 1.53 GB, free: 8.109 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.339, allocations: 305.1 kB / 1.53 GB, free: 7.809 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004371/1.344, allocations: 2.995 MB / 1.533 GB, free: 4.805 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005101/1.349, allocations: 3.855 MB / 1.536 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/1.359, allocations: 7.384 MB / 1.544 GB, free: 8.91 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/1.359, allocations: 8 kB / 1.544 GB, free: 8.902 MB / 1.232 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02893/1.388, allocations: 12.39 MB / 1.556 GB, free: 12.41 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/1.388, allocations: 14.22 kB / 1.556 GB, free: 12.4 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/1.388, allocations: 28 kB / 1.556 GB, free: 12.38 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02257/1.411, allocations: 6.026 MB / 1.562 GB, free: 6.281 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/1.413, allocations: 487.2 kB / 1.562 GB, free: 5.805 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09429/1.507, allocations: 73.06 MB / 1.634 GB, free: 9.406 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/1.512, allocations: 215.8 kB / 1.634 GB, free: 9.195 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005369/1.512, allocations: 156 kB / 1.634 GB, free: 9.043 MB / 1.326 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003697/1.516, allocations: 1.99 MB / 1.636 GB, free: 7.043 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009473/1.517, allocations: 413.5 kB / 1.636 GB, free: 6.637 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02825/1.545, allocations: 12.05 MB / 1.648 GB, free: 10.47 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/1.545, allocations: 43.94 kB / 1.648 GB, free: 10.43 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001076/1.545, allocations: 48 kB / 1.648 GB, free: 10.38 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.717e-05/1.545, allocations: 23.92 kB / 1.648 GB, free: 10.36 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03925/1.584, allocations: 18.95 MB / 1.667 GB, free: 7.141 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/1.585, allocations: 8.125 kB / 1.667 GB, free: 7.133 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.586, allocations: 291.5 kB / 1.667 GB, free: 6.848 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02042/1.606, allocations: 5.575 MB / 1.672 GB, free: 1.207 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005221/1.607, allocations: 87.92 kB / 1.672 GB, free: 1.121 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08619/1.693, allocations: 70.66 MB / 1.741 GB, free: 7.125 MB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.693, allocations: 11.94 kB / 1.741 GB, free: 7.113 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03285/1.726, allocations: 15.45 MB / 1.757 GB, free: 7.418 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/1.729, allocations: 1.065 MB / 1.758 GB, free: 6.332 MB / 1.451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006088/1.729, allocations: 80 kB / 1.758 GB, free: 6.254 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/1.732, allocations: 219.7 kB / 1.758 GB, free: 6.039 MB / 1.451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001268/1.733, allocations: 402.2 kB / 1.758 GB, free: 5.645 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/1.733, allocations: 112.4 kB / 1.758 GB, free: 5.535 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.002206/1.735, allocations: 1.556 MB / 1.76 GB, free: 3.98 MB / 1.451 GB Notification: Performance of sort global known variables: time 9e-08/1.735, allocations: 0 / 1.76 GB, free: 3.98 MB / 1.451 GB Notification: Performance of remove unused functions: time 0.005488/1.741, allocations: 1.859 MB / 1.762 GB, free: 2.121 MB / 1.451 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03104/1.772, allocations: 16.13 MB / 1.777 GB, free: 1.738 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.02029/1.792, allocations: 11.6 MB / 1.789 GB, free: 5.82 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.792, allocations: 0 / 1.789 GB, free: 5.82 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.01449/1.807, allocations: 8.125 MB / 1.797 GB, free: 13.38 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004908/1.812, allocations: 1.188 MB / 1.798 GB, free: 12.22 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5987/2.41, allocations: 53.81 MB / 1.85 GB, free: 491 MB / 1.529 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004686/2.415, allocations: 4.085 MB / 1.854 GB, free: 490.2 MB / 1.529 GB Notification: Performance of simCode: alias equations: time 0.002094/2.417, allocations: 0.6702 MB / 1.855 GB, free: 490.1 MB / 1.529 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/2.419, allocations: 2.126 MB / 1.857 GB, free: 490.1 MB / 1.529 GB Notification: Performance of SimCode: time 9.32e-07/2.419, allocations: 5.125 kB / 1.857 GB, free: 490.1 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2429/2.662, allocations: 153.5 MB / 2.007 GB, free: 398.2 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/19.29, allocations: 3.938 kB / 2.007 GB, free: 398.2 MB / 1.529 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 24.90902450500016]