Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001506/0.001506, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001754/0.001754, allocations: 217.9 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.635/2.635, allocations: 476.7 MB / 0.7714 GB, free: 4.34 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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.001938/0.001938, allocations: 63.58 kB / 1.118 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2946, allocations: 170 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0128/0.3074, allocations: 10.52 MB / 1.294 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005666/0.3131, allocations: 3.302 MB / 1.298 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005567/0.3136, allocations: 43.69 kB / 1.298 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.3152, allocations: 0.6297 MB / 1.298 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.3166, allocations: 0.7856 MB / 1.299 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.3181, allocations: 0.7445 MB / 1.3 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003246/0.3214, allocations: 2.996 MB / 1.303 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/0.3233, allocations: 1.423 MB / 1.304 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.3249, allocations: 1.289 MB / 1.305 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.3273, allocations: 1.702 MB / 1.307 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003286/0.3276, allocations: 236 kB / 1.307 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009321/0.3285, allocations: 0.4994 MB / 1.308 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.3296, allocations: 1.111 MB / 1.309 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.3308, allocations: 1.113 MB / 1.31 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003821/0.3346, allocations: 3.687 MB / 1.314 GB, free: 13.47 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3346, allocations: 0 / 1.314 GB, free: 13.47 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3346, allocations: 0 / 1.314 GB, free: 13.47 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.221e-05/0.3346, allocations: 0 / 1.314 GB, free: 13.47 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004274/0.3389, allocations: 2.127 MB / 1.316 GB, free: 11.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.339, allocations: 12.03 kB / 1.316 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.765e-05/0.339, allocations: 39.2 kB / 1.316 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003467/0.3394, allocations: 257.2 kB / 1.316 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008872/0.3482, allocations: 1.334 MB / 1.317 GB, free: 9.652 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002959/0.3512, allocations: 1.262 MB / 1.318 GB, free: 8.363 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/0.3513, allocations: 119.3 kB / 1.319 GB, free: 8.246 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.3517, allocations: 144.3 kB / 1.319 GB, free: 8.105 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005419/0.3571, allocations: 3.436 MB / 1.322 GB, free: 4.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.3571, allocations: 11.94 kB / 1.322 GB, free: 4.559 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/0.3573, allocations: 63.97 kB / 1.322 GB, free: 4.496 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002641/0.3576, allocations: 203.1 kB / 1.322 GB, free: 4.297 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004906/0.3625, allocations: 3.124 MB / 1.325 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01763/0.3801, allocations: 13.46 MB / 1.338 GB, free: 2.828 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.3826, allocations: 1.622 MB / 1.34 GB, free: 1.199 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.3846, allocations: 1.323 MB / 1.341 GB, free: 15.87 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.404e-05/0.3846, allocations: 13 kB / 1.341 GB, free: 15.86 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.3847, allocations: 47.56 kB / 1.341 GB, free: 15.8 MB / 1.045 GB Notification: Performance of pre-optimization done (n=104): time 3.146e-06/0.3847, allocations: 0 / 1.341 GB, free: 15.8 MB / 1.045 GB Notification: Performance of matching and sorting (n=183): time 0.1471/0.5318, allocations: 36.19 MB / 1.377 GB, free: 11.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.5318, allocations: 69.41 kB / 1.377 GB, free: 11.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.5335, allocations: 1.054 MB / 1.378 GB, free: 10.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003102/0.5338, allocations: 53.7 kB / 1.378 GB, free: 10.35 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/0.5344, allocations: 0.8093 MB / 1.379 GB, free: 9.527 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007316/0.5351, allocations: 0.6584 MB / 1.379 GB, free: 8.863 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008569/0.536, allocations: 363.5 kB / 1.38 GB, free: 8.504 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5361, allocations: 301.1 kB / 1.38 GB, free: 8.207 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002856/0.539, allocations: 1.928 MB / 1.382 GB, free: 6.277 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/0.542, allocations: 2.292 MB / 1.384 GB, free: 3.855 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005975/0.548, allocations: 4.388 MB / 1.388 GB, free: 15.34 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.548, allocations: 7.938 kB / 1.388 GB, free: 15.33 MB / 1.092 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02043/0.5684, allocations: 8.876 MB / 1.397 GB, free: 6.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.5685, allocations: 8 kB / 1.397 GB, free: 6.422 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.5685, allocations: 8 kB / 1.397 GB, free: 6.414 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/0.5855, allocations: 4.98 MB / 1.402 GB, free: 1.418 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/0.5864, allocations: 191.7 kB / 1.402 GB, free: 1.23 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05927/0.6457, allocations: 38.53 MB / 1.44 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.6476, allocations: 103.9 kB / 1.44 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.6478, allocations: 68 kB / 1.44 GB, free: 10.06 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001329/0.6491, allocations: 0.8172 MB / 1.441 GB, free: 9.23 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.6494, allocations: 147.1 kB / 1.441 GB, free: 9.086 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0202/0.6696, allocations: 8.734 MB / 1.449 GB, free: 324 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.6696, allocations: 16 kB / 1.449 GB, free: 308 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.041e-05/0.6697, allocations: 32 kB / 1.449 GB, free: 276 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.6697, allocations: 7.969 kB / 1.449 GB, free: 268 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/0.6966, allocations: 13.25 MB / 1.462 GB, free: 2.863 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/0.6967, allocations: 7.938 kB / 1.462 GB, free: 2.855 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.6972, allocations: 119.8 kB / 1.462 GB, free: 2.738 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01672/0.7139, allocations: 4.843 MB / 1.467 GB, free: 13.88 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002482/0.7141, allocations: 40 kB / 1.467 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05602/0.7702, allocations: 36.46 MB / 1.503 GB, free: 8.91 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.7702, allocations: 7.938 kB / 1.503 GB, free: 8.902 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01967/0.7898, allocations: 8.444 MB / 1.511 GB, free: 380 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/0.7913, allocations: 0.5848 MB / 1.512 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/0.7916, allocations: 32 kB / 1.512 GB, free: 15.75 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.793, allocations: 91.89 kB / 1.512 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008255/0.7938, allocations: 181.5 kB / 1.512 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/0.794, allocations: 48 kB / 1.512 GB, free: 15.44 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001033/0.795, allocations: 0.7304 MB / 1.513 GB, free: 14.7 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/0.795, allocations: 0 / 1.513 GB, free: 14.7 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00283/0.7978, allocations: 1.008 MB / 1.514 GB, free: 13.69 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01968/0.8175, allocations: 9.039 MB / 1.523 GB, free: 4.551 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01014/0.8276, allocations: 5.749 MB / 1.528 GB, free: 14.75 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.8276, allocations: 0 / 1.528 GB, free: 14.75 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.007916/0.8356, allocations: 3.776 MB / 1.532 GB, free: 10.93 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.8371, allocations: 248.3 kB / 1.532 GB, free: 10.7 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05914/0.8962, allocations: 30.82 MB / 1.562 GB, free: 11.34 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/0.8981, allocations: 1.859 MB / 1.564 GB, free: 9.441 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.000845/0.8989, allocations: 355.4 kB / 1.564 GB, free: 9.09 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007544/0.8997, allocations: 0.6086 MB / 1.565 GB, free: 8.48 MB / 1.264 GB Notification: Performance of SimCode: time 8.52e-07/0.8997, allocations: 0 / 1.565 GB, free: 8.48 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6949/1.595, allocations: 78.77 MB / 1.642 GB, free: 293 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.66, allocations: 11.53 kB / 1.642 GB, free: 293 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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: 22.38632101501571]