Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001563/0.001563, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001974/0.001974, allocations: 216 kB / 23.04 MB, free: 5.074 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 8 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.683/2.683, allocations: 476.7 MB / 0.7715 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] 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.ACLine_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001977/0.001977, allocations: 65.72 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2755, allocations: 170 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04341/0.3189, allocations: 36.67 MB / 1.32 GB, free: 6.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0206/0.3395, allocations: 11.98 MB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003452/0.3429, allocations: 210.4 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.3543, allocations: 4.46 MB / 1.336 GB, free: 6.242 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006599/0.3609, allocations: 2.096 MB / 1.338 GB, free: 4.137 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007319/0.3682, allocations: 2.457 MB / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01197/0.3801, allocations: 8.465 MB / 1.349 GB, free: 9.191 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01398/0.3941, allocations: 6.238 MB / 1.355 GB, free: 2.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007036/0.4012, allocations: 3.845 MB / 1.359 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008299/0.4095, allocations: 4.428 MB / 1.363 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002763/0.4122, allocations: 0.7851 MB / 1.364 GB, free: 9.758 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005701/0.4179, allocations: 2.063 MB / 1.366 GB, free: 7.691 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004783/0.4227, allocations: 3.137 MB / 1.369 GB, free: 4.547 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.007088/0.4298, allocations: 3.4 MB / 1.372 GB, free: 1.133 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01833/0.4481, allocations: 12.01 MB / 1.384 GB, free: 5.09 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.385e-05/0.4481, allocations: 4 kB / 1.384 GB, free: 5.086 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4482, allocations: 0 / 1.384 GB, free: 5.086 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000406/0.4486, allocations: 0 / 1.384 GB, free: 5.086 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.0165/0.4651, allocations: 5.865 MB / 1.39 GB, free: 15.16 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4651, allocations: 12.03 kB / 1.39 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001743/0.4653, allocations: 151.3 kB / 1.39 GB, free: 15 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003167/0.4684, allocations: 0.8051 MB / 1.391 GB, free: 14.18 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007744/0.4762, allocations: 1.082 MB / 1.392 GB, free: 13.1 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00799/0.4842, allocations: 3.426 MB / 1.395 GB, free: 9.605 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/0.4846, allocations: 411.5 kB / 1.395 GB, free: 9.203 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002098/0.4867, allocations: 0.5393 MB / 1.396 GB, free: 8.664 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01982/0.5065, allocations: 9.075 MB / 1.405 GB, free: 15.27 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002796/0.5068, allocations: 31.78 kB / 1.405 GB, free: 15.24 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001453/0.5083, allocations: 239.9 kB / 1.405 GB, free: 15 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004377/0.5087, allocations: 358.7 kB / 1.405 GB, free: 14.65 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.5227, allocations: 6.818 MB / 1.412 GB, free: 7.824 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05009/0.5728, allocations: 39.5 MB / 1.451 GB, free: 12.6 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/0.5765, allocations: 2.298 MB / 1.453 GB, free: 10.31 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002751/0.5793, allocations: 1.779 MB / 1.455 GB, free: 8.531 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.5794, allocations: 21.94 kB / 1.455 GB, free: 8.508 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.5794, allocations: 52.56 kB / 1.455 GB, free: 8.449 MB / 1.154 GB Notification: Performance of pre-optimization done (n=179): time 4.118e-06/0.5794, allocations: 3.938 kB / 1.455 GB, free: 8.445 MB / 1.154 GB Notification: Performance of matching and sorting (n=182): time 0.02705/0.6065, allocations: 9.698 MB / 1.464 GB, free: 14.73 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.6066, allocations: 77.28 kB / 1.464 GB, free: 14.64 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.609, allocations: 1.53 MB / 1.466 GB, free: 13.07 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002417/0.6092, allocations: 53.7 kB / 1.466 GB, free: 13.01 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001788/0.611, allocations: 2.324 MB / 1.468 GB, free: 10.66 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008195/0.6118, allocations: 0.6623 MB / 1.469 GB, free: 9.992 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008014/0.6126, allocations: 404.2 kB / 1.469 GB, free: 9.59 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6127, allocations: 305.1 kB / 1.469 GB, free: 9.289 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.6146, allocations: 1.187 MB / 1.471 GB, free: 8.098 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/0.6171, allocations: 1.877 MB / 1.472 GB, free: 5.906 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004699/0.6218, allocations: 3.367 MB / 1.476 GB, free: 2.227 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.319e-05/0.6218, allocations: 4 kB / 1.476 GB, free: 2.223 MB / 1.17 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008425/0.6302, allocations: 4.538 MB / 1.48 GB, free: 13.66 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.6303, allocations: 17 kB / 1.48 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.6303, allocations: 20 kB / 1.48 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003902/0.6342, allocations: 1.596 MB / 1.482 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.6355, allocations: 351.4 kB / 1.482 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0245/0.66, allocations: 18.18 MB / 1.5 GB, free: 9.047 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.6618, allocations: 119.9 kB / 1.5 GB, free: 8.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003224/0.6621, allocations: 92 kB / 1.5 GB, free: 8.84 MB / 1.201 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003194/0.6653, allocations: 1.895 MB / 1.502 GB, free: 6.934 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005561/0.6659, allocations: 238.5 kB / 1.502 GB, free: 6.699 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007377/0.6732, allocations: 4.047 MB / 1.506 GB, free: 2.625 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.6733, allocations: 16 kB / 1.506 GB, free: 2.609 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/0.6733, allocations: 20 kB / 1.506 GB, free: 2.59 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.6733, allocations: 15.91 kB / 1.506 GB, free: 2.574 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/0.6919, allocations: 9.398 MB / 1.515 GB, free: 8.922 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.6919, allocations: 4 kB / 1.515 GB, free: 8.918 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008888/0.6928, allocations: 175.7 kB / 1.515 GB, free: 8.746 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003664/0.6964, allocations: 1.363 MB / 1.517 GB, free: 7.375 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/0.6966, allocations: 32 kB / 1.517 GB, free: 7.344 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02309/0.7197, allocations: 16.97 MB / 1.533 GB, free: 5.918 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.7197, allocations: 8 kB / 1.533 GB, free: 5.91 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007494/0.7272, allocations: 4.036 MB / 1.537 GB, free: 1.785 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.7285, allocations: 470.4 kB / 1.538 GB, free: 1.324 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004305/0.7289, allocations: 40.48 kB / 1.538 GB, free: 1.285 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.73, allocations: 87.91 kB / 1.538 GB, free: 1.199 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004353/0.7305, allocations: 165.5 kB / 1.538 GB, free: 1.035 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.7306, allocations: 52 kB / 1.538 GB, free: 0.9844 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001563/0.7322, allocations: 1.005 MB / 1.539 GB, free: 15.95 MB / 1.248 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7322, allocations: 0 / 1.539 GB, free: 15.95 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00295/0.7351, allocations: 0.9921 MB / 1.54 GB, free: 14.96 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007063/0.7422, allocations: 4.626 MB / 1.545 GB, free: 10.23 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.006827/0.749, allocations: 4.178 MB / 1.549 GB, free: 6.004 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.749, allocations: 0 / 1.549 GB, free: 6.004 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004246/0.7533, allocations: 2.569 MB / 1.551 GB, free: 3.387 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/0.7568, allocations: 0.7878 MB / 1.552 GB, free: 2.629 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04966/0.8064, allocations: 27.02 MB / 1.578 GB, free: 6.527 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005722/0.8122, allocations: 3.58 MB / 1.582 GB, free: 2.914 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001463/0.8136, allocations: 467.9 kB / 1.582 GB, free: 2.453 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002512/0.8161, allocations: 1.788 MB / 1.584 GB, free: 0.6602 MB / 1.279 GB Notification: Performance of SimCode: time 1.243e-06/0.8161, allocations: 0 / 1.584 GB, free: 0.6602 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7615/1.578, allocations: 76.54 MB / 1.659 GB, free: 293.4 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/17.09, allocations: 4.656 kB / 1.659 GB, free: 293.4 MB / 1.311 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 24.520951463957317]