Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.001864/0.001864, allocations: 111.4 kB / 16.46 MB, free: 6.504 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.0018/0.0018, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 75.89 kB / 1.056 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.917/0.919, allocations: 160.7 MB / 1.213 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05367/0.9727, allocations: 41.83 MB / 1.254 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02998/1.003, allocations: 15.29 MB / 1.269 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006726/1.009, allocations: 187.1 kB / 1.269 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01485/1.024, allocations: 4.532 MB / 1.273 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/1.034, allocations: 2.931 MB / 1.276 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00932/1.044, allocations: 3.165 MB / 1.279 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01684/1.061, allocations: 11.4 MB / 1.29 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01598/1.077, allocations: 9.234 MB / 1.299 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009861/1.086, allocations: 4.919 MB / 1.304 GB, free: 10.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0112/1.098, allocations: 5.748 MB / 1.31 GB, free: 4.617 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.003427/1.101, allocations: 0.9492 MB / 1.311 GB, free: 3.668 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007018/1.108, allocations: 2.075 MB / 1.313 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.009066/1.117, allocations: 3.776 MB / 1.316 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0106/1.128, allocations: 4.299 MB / 1.321 GB, free: 9.484 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0209/1.149, allocations: 14.32 MB / 1.335 GB, free: 11.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/1.149, allocations: 0 / 1.335 GB, free: 11.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.375e-06/1.149, allocations: 0 / 1.335 GB, free: 11.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004859/1.149, allocations: 4 kB / 1.335 GB, free: 11.12 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02427/1.173, allocations: 7.787 MB / 1.342 GB, free: 3.242 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.173, allocations: 8.625 kB / 1.342 GB, free: 3.234 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002949/1.176, allocations: 0.8994 MB / 1.343 GB, free: 2.324 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/1.188, allocations: 1.554 MB / 1.345 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/1.201, allocations: 4.466 MB / 1.349 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005453/1.201, allocations: 452.5 kB / 1.349 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002603/1.204, allocations: 0.6056 MB / 1.35 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03014/1.234, allocations: 10.69 MB / 1.36 GB, free: 116 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004124/1.234, allocations: 31.75 kB / 1.361 GB, free: 84 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002802/1.237, allocations: 263.9 kB / 1.361 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003065/1.24, allocations: 0.7729 MB / 1.362 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/1.261, allocations: 8.561 MB / 1.37 GB, free: 6.465 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0804/1.341, allocations: 46.61 MB / 1.415 GB, free: 4.102 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007754/1.349, allocations: 3.982 MB / 1.419 GB, free: 108 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007007/1.356, allocations: 3.388 MB / 1.423 GB, free: 12.71 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/1.357, allocations: 38.78 kB / 1.423 GB, free: 12.68 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/1.357, allocations: 77.28 kB / 1.423 GB, free: 12.59 MB / 1.139 GB Notification: Performance of pre-optimization done (n=353): time 8.566e-06/1.357, allocations: 0 / 1.423 GB, free: 12.59 MB / 1.139 GB Notification: Performance of matching and sorting (n=578): time 0.5433/1.9, allocations: 122.6 MB / 1.542 GB, free: 1.121 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.9, allocations: 107.9 kB / 1.543 GB, free: 1 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004821/1.905, allocations: 2.681 MB / 1.545 GB, free: 14.32 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/1.906, allocations: 129.7 kB / 1.545 GB, free: 14.19 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002579/1.909, allocations: 2.749 MB / 1.548 GB, free: 11.42 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.003101/1.912, allocations: 2.049 MB / 1.55 GB, free: 9.352 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003182/1.915, allocations: 0.929 MB / 1.551 GB, free: 8.414 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.915, allocations: 301.1 kB / 1.551 GB, free: 8.117 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007193/1.922, allocations: 4.087 MB / 1.555 GB, free: 4.023 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008299/1.931, allocations: 5.011 MB / 1.56 GB, free: 14.68 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01853/1.949, allocations: 9.848 MB / 1.57 GB, free: 4.453 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.721e-05/1.949, allocations: 8 kB / 1.57 GB, free: 4.445 MB / 1.279 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04516/1.994, allocations: 16.74 MB / 1.586 GB, free: 3.578 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/1.995, allocations: 16 kB / 1.586 GB, free: 3.562 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.426e-05/1.995, allocations: 20.09 kB / 1.586 GB, free: 3.543 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03377/2.028, allocations: 9.082 MB / 1.595 GB, free: 10.42 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/2.031, allocations: 0.5265 MB / 1.595 GB, free: 9.891 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8148/2.846, allocations: 77.02 MB / 1.671 GB, free: 321 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004531/2.85, allocations: 291.2 kB / 1.671 GB, free: 321 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006574/2.851, allocations: 185.9 kB / 1.671 GB, free: 320.9 MB / 1.311 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003474/2.855, allocations: 2.418 MB / 1.673 GB, free: 319.8 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/2.856, allocations: 496.3 kB / 1.674 GB, free: 319.5 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03238/2.888, allocations: 16.55 MB / 1.69 GB, free: 303.3 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/2.888, allocations: 52 kB / 1.69 GB, free: 303.2 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000212/2.888, allocations: 74.72 kB / 1.69 GB, free: 303.2 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/2.888, allocations: 29.64 kB / 1.69 GB, free: 303.1 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04935/2.938, allocations: 25.38 MB / 1.715 GB, free: 277.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.939e-05/2.938, allocations: 8 kB / 1.715 GB, free: 277.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/2.94, allocations: 324.4 kB / 1.715 GB, free: 277.2 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02605/2.966, allocations: 8.265 MB / 1.723 GB, free: 268.9 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001076/2.967, allocations: 111.2 kB / 1.724 GB, free: 268.8 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08187/3.049, allocations: 73.91 MB / 1.796 GB, free: 193.4 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/3.049, allocations: 11.94 kB / 1.796 GB, free: 193.4 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03809/3.087, allocations: 21.31 MB / 1.817 GB, free: 171.7 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004524/3.091, allocations: 1.384 MB / 1.818 GB, free: 170.3 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002012/3.093, allocations: 108 kB / 1.818 GB, free: 170.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00441/3.098, allocations: 291.6 kB / 1.818 GB, free: 169.9 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002423/3.1, allocations: 0.5182 MB / 1.819 GB, free: 169.4 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006299/3.101, allocations: 140 kB / 1.819 GB, free: 169.2 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002781/3.103, allocations: 1.776 MB / 1.821 GB, free: 167.5 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.3e-07/3.103, allocations: 0 / 1.821 GB, free: 167.5 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.009445/3.113, allocations: 2.465 MB / 1.823 GB, free: 165 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03709/3.15, allocations: 22.03 MB / 1.845 GB, free: 142.6 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02346/3.173, allocations: 13.73 MB / 1.858 GB, free: 128.7 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/3.173, allocations: 4 kB / 1.858 GB, free: 128.7 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0158/3.189, allocations: 9.023 MB / 1.867 GB, free: 119.5 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005684/3.195, allocations: 1.368 MB / 1.868 GB, free: 118.2 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1252/3.32, allocations: 69.85 MB / 1.936 GB, free: 46.73 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009602/3.33, allocations: 4.897 MB / 1.941 GB, free: 41.79 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.003402/3.333, allocations: 0.741 MB / 1.942 GB, free: 41.04 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003385/3.337, allocations: 2.608 MB / 1.944 GB, free: 38.43 MB / 1.311 GB Notification: Performance of SimCode: time 1.403e-06/3.337, allocations: 0 / 1.944 GB, free: 38.43 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.337/3.673, allocations: 197.9 MB / 2.138 GB, free: 2.082 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.91/25.58, allocations: 8.062 kB / 2.138 GB, free: 2.074 MB / 1.467 GB " [Timeout remaining time 274] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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: 32.51441324595362]