Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001832/0.001832, allocations: 108 kB / 16.45 MB, free: 6.488 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.002032/0.002032, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.424/1.424, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.738/2.738, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 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_N,fileNamePrefix="Buildings_11_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_11_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.001977/0.001977, allocations: 75.88 kB / 1.104 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.844/0.846, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05071/0.8967, allocations: 41.83 MB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02713/0.9239, allocations: 15.28 MB / 1.325 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004219/0.9281, allocations: 191 kB / 1.325 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01223/0.9403, allocations: 4.549 MB / 1.329 GB, free: 7.141 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008349/0.9487, allocations: 2.915 MB / 1.332 GB, free: 4.211 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008889/0.9576, allocations: 3.169 MB / 1.335 GB, free: 1.039 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0177/0.9753, allocations: 11.39 MB / 1.346 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01795/0.9932, allocations: 9.239 MB / 1.355 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/1.003, allocations: 4.904 MB / 1.36 GB, free: 7.316 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/1.014, allocations: 5.748 MB / 1.366 GB, free: 1.551 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003136/1.017, allocations: 0.9453 MB / 1.367 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006486/1.024, allocations: 2.087 MB / 1.369 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.007128/1.031, allocations: 3.78 MB / 1.372 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00917/1.04, allocations: 4.299 MB / 1.376 GB, free: 6.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02185/1.062, allocations: 14.32 MB / 1.39 GB, free: 8.043 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.062, allocations: 3.938 kB / 1.39 GB, free: 8.039 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.215e-06/1.062, allocations: 0 / 1.39 GB, free: 8.039 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0005211/1.062, allocations: 0 / 1.39 GB, free: 8.039 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02481/1.087, allocations: 7.798 MB / 1.398 GB, free: 152 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.087, allocations: 12.03 kB / 1.398 GB, free: 140 kB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003077/1.09, allocations: 0.8877 MB / 1.399 GB, free: 15.24 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/1.102, allocations: 1.554 MB / 1.4 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/1.116, allocations: 4.466 MB / 1.405 GB, free: 9.141 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005817/1.117, allocations: 456.5 kB / 1.405 GB, free: 8.691 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002988/1.12, allocations: 0.5939 MB / 1.406 GB, free: 8.098 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02688/1.147, allocations: 10.69 MB / 1.416 GB, free: 13.03 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003099/1.147, allocations: 35.77 kB / 1.416 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002134/1.149, allocations: 263.9 kB / 1.417 GB, free: 12.74 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003175/1.152, allocations: 0.7768 MB / 1.417 GB, free: 11.96 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/1.173, allocations: 8.557 MB / 1.426 GB, free: 3.379 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07556/1.248, allocations: 46.61 MB / 1.471 GB, free: 1.02 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006657/1.255, allocations: 3.979 MB / 1.475 GB, free: 13.02 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005971/1.261, allocations: 3.376 MB / 1.478 GB, free: 9.641 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003822/1.261, allocations: 38.78 kB / 1.478 GB, free: 9.602 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/1.261, allocations: 73.34 kB / 1.479 GB, free: 9.52 MB / 1.186 GB Notification: Performance of pre-optimization done (n=353): time 8.166e-06/1.261, allocations: 0 / 1.479 GB, free: 9.52 MB / 1.186 GB Notification: Performance of matching and sorting (n=578): time 0.5105/1.772, allocations: 122.6 MB / 1.598 GB, free: 14.04 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.772, allocations: 111.9 kB / 1.598 GB, free: 13.92 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/1.776, allocations: 2.681 MB / 1.601 GB, free: 11.24 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0007537/1.776, allocations: 117.7 kB / 1.601 GB, free: 11.12 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002133/1.779, allocations: 2.753 MB / 1.604 GB, free: 8.34 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002446/1.781, allocations: 2.056 MB / 1.606 GB, free: 6.266 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001933/1.783, allocations: 0.925 MB / 1.607 GB, free: 5.332 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.783, allocations: 305.1 kB / 1.607 GB, free: 5.031 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006381/1.79, allocations: 4.079 MB / 1.611 GB, free: 0.9453 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6194/2.409, allocations: 5.007 MB / 1.616 GB, free: 315.3 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/2.425, allocations: 9.849 MB / 1.625 GB, free: 310.1 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.062e-05/2.425, allocations: 8 kB / 1.625 GB, free: 310.1 MB / 1.311 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03513/2.46, allocations: 16.74 MB / 1.642 GB, free: 303.9 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/2.46, allocations: 17.56 kB / 1.642 GB, free: 303.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.104e-05/2.46, allocations: 22.97 kB / 1.642 GB, free: 303.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02765/2.488, allocations: 9.087 MB / 1.651 GB, free: 301.7 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/2.49, allocations: 0.5222 MB / 1.651 GB, free: 301.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08599/2.576, allocations: 77.03 MB / 1.726 GB, free: 228.5 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004708/2.581, allocations: 279.8 kB / 1.727 GB, free: 228.3 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006766/2.581, allocations: 192 kB / 1.727 GB, free: 228.1 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.003708/2.585, allocations: 2.417 MB / 1.729 GB, free: 225.7 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/2.586, allocations: 493 kB / 1.73 GB, free: 225.2 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03124/2.617, allocations: 16.55 MB / 1.746 GB, free: 208.5 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.232e-05/2.617, allocations: 57.42 kB / 1.746 GB, free: 208.4 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001779/2.618, allocations: 72 kB / 1.746 GB, free: 208.4 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.886e-05/2.618, allocations: 27.89 kB / 1.746 GB, free: 208.3 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0459/2.664, allocations: 25.37 MB / 1.771 GB, free: 182.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.125e-05/2.664, allocations: 12.03 kB / 1.771 GB, free: 182.7 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/2.665, allocations: 319.5 kB / 1.771 GB, free: 182.4 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02564/2.691, allocations: 8.277 MB / 1.779 GB, free: 174.1 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007324/2.692, allocations: 104 kB / 1.779 GB, free: 174 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08153/2.773, allocations: 73.9 MB / 1.852 GB, free: 98.54 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/2.773, allocations: 12 kB / 1.852 GB, free: 98.53 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03549/2.809, allocations: 21.32 MB / 1.872 GB, free: 76.86 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003651/2.812, allocations: 1.379 MB / 1.874 GB, free: 75.46 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/2.814, allocations: 113.9 kB / 1.874 GB, free: 75.35 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003443/2.817, allocations: 291.6 kB / 1.874 GB, free: 75.06 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001821/2.819, allocations: 0.5182 MB / 1.875 GB, free: 74.54 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003471/2.819, allocations: 144 kB / 1.875 GB, free: 74.4 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00209/2.821, allocations: 1.78 MB / 1.876 GB, free: 72.63 MB / 1.311 GB Notification: Performance of sort global known variables: time 8.1e-08/2.821, allocations: 3.938 kB / 1.876 GB, free: 72.62 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006078/2.827, allocations: 2.461 MB / 1.879 GB, free: 70.16 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.03558/2.863, allocations: 22.02 MB / 1.9 GB, free: 47.77 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02145/2.884, allocations: 13.73 MB / 1.914 GB, free: 33.85 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/2.885, allocations: 4 kB / 1.914 GB, free: 33.84 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01523/2.9, allocations: 9.014 MB / 1.923 GB, free: 24.69 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006677/2.906, allocations: 1.383 MB / 1.924 GB, free: 23.36 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1594/3.066, allocations: 69.85 MB / 1.992 GB, free: 15.86 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01011/3.076, allocations: 4.893 MB / 1.997 GB, free: 10.93 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.003241/3.079, allocations: 0.7449 MB / 1.998 GB, free: 10.18 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003763/3.083, allocations: 2.612 MB / 2 GB, free: 7.566 MB / 1.373 GB Notification: Performance of SimCode: time 1.422e-06/3.083, allocations: 0 / 2 GB, free: 7.566 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3507/3.434, allocations: 197.8 MB / 2.193 GB, free: 3.324 MB / 1.561 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.22/24.65, allocations: 0 / 2.193 GB, free: 3.324 MB / 1.561 GB " [Timeout remaining time 275] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.198954083025455]