Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001825/0.001825, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002244/0.002244, allocations: 218 kB / 22.25 MB, free: 5.105 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.104/3.104, allocations: 0.49 GB / 0.7951 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",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.002018/0.002018, allocations: 67.78 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3175, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03337/0.3508, allocations: 25.58 MB / 1.351 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.3661, allocations: 8.103 MB / 1.359 GB, free: 15.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.3686, allocations: 150.8 kB / 1.359 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007501/0.3761, allocations: 2.776 MB / 1.362 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.3807, allocations: 1.664 MB / 1.363 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004477/0.3852, allocations: 1.683 MB / 1.365 GB, free: 9.434 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008316/0.3935, allocations: 6.135 MB / 1.371 GB, free: 3.273 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006185/0.3997, allocations: 3.785 MB / 1.375 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004613/0.4043, allocations: 2.672 MB / 1.377 GB, free: 12.71 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005657/0.4099, allocations: 2.998 MB / 1.38 GB, free: 9.707 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001373/0.4113, allocations: 0.5117 MB / 1.381 GB, free: 9.195 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.4141, allocations: 1.205 MB / 1.382 GB, free: 7.988 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002432/0.4165, allocations: 2.104 MB / 1.384 GB, free: 5.879 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003026/0.4196, allocations: 1.93 MB / 1.386 GB, free: 3.941 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009216/0.4288, allocations: 8.11 MB / 1.394 GB, free: 11.8 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4288, allocations: 4 kB / 1.394 GB, free: 11.8 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4288, allocations: 0 / 1.394 GB, free: 11.8 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001828/0.429, allocations: 0 / 1.394 GB, free: 11.8 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009495/0.4385, allocations: 4.262 MB / 1.398 GB, free: 7.488 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4385, allocations: 8.031 kB / 1.398 GB, free: 7.48 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008362/0.4393, allocations: 0.5382 MB / 1.398 GB, free: 6.934 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/0.4436, allocations: 0.8257 MB / 1.399 GB, free: 6.105 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005908/0.4495, allocations: 2.53 MB / 1.402 GB, free: 3.512 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.4497, allocations: 267.6 kB / 1.402 GB, free: 3.25 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008534/0.4506, allocations: 380.4 kB / 1.402 GB, free: 2.879 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.4615, allocations: 6.444 MB / 1.409 GB, free: 12.07 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.4616, allocations: 19.81 kB / 1.409 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000396/0.462, allocations: 160 kB / 1.409 GB, free: 11.89 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006332/0.4626, allocations: 286.9 kB / 1.409 GB, free: 11.61 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008543/0.4712, allocations: 4.512 MB / 1.413 GB, free: 7.094 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02869/0.4998, allocations: 18 MB / 1.431 GB, free: 4.562 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.5018, allocations: 1.06 MB / 1.432 GB, free: 3.492 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.5033, allocations: 0.9586 MB / 1.433 GB, free: 2.535 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.212e-05/0.5033, allocations: 13 kB / 1.433 GB, free: 2.523 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.5034, allocations: 43.56 kB / 1.433 GB, free: 2.473 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 4.578e-06/0.5034, allocations: 0 / 1.433 GB, free: 2.473 MB / 1.123 GB Notification: Performance of matching and sorting (n=131): time 0.02293/0.5263, allocations: 9.103 MB / 1.442 GB, free: 9.309 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.5264, allocations: 64.72 kB / 1.442 GB, free: 9.23 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.5286, allocations: 1.529 MB / 1.443 GB, free: 7.703 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.5287, allocations: 49.7 kB / 1.443 GB, free: 7.648 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.53, allocations: 1.715 MB / 1.445 GB, free: 5.914 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004885/0.5305, allocations: 0.4919 MB / 1.446 GB, free: 5.418 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005534/0.5311, allocations: 323.4 kB / 1.446 GB, free: 5.094 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5312, allocations: 305.1 kB / 1.446 GB, free: 4.793 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.5326, allocations: 0.9174 MB / 1.447 GB, free: 3.875 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.5345, allocations: 1.467 MB / 1.449 GB, free: 2.172 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/0.5381, allocations: 2.55 MB / 1.451 GB, free: 15.38 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.5381, allocations: 4 kB / 1.451 GB, free: 15.38 MB / 1.154 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006208/0.5443, allocations: 3.279 MB / 1.454 GB, free: 12.06 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.5443, allocations: 12 kB / 1.454 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.5444, allocations: 20 kB / 1.454 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/0.5468, allocations: 0.7378 MB / 1.455 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.5484, allocations: 383.4 kB / 1.455 GB, free: 10.89 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/0.566, allocations: 16.01 MB / 1.471 GB, free: 9.844 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.5677, allocations: 100 kB / 1.471 GB, free: 9.746 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.5678, allocations: 83.98 kB / 1.471 GB, free: 9.664 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002124/0.57, allocations: 1.306 MB / 1.472 GB, free: 8.348 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/0.5703, allocations: 210.7 kB / 1.473 GB, free: 8.141 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00527/0.5756, allocations: 2.761 MB / 1.475 GB, free: 5.336 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.5756, allocations: 16 kB / 1.475 GB, free: 5.32 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.5756, allocations: 4 kB / 1.475 GB, free: 5.316 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.5756, allocations: 7.984 kB / 1.475 GB, free: 5.309 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.5865, allocations: 5.893 MB / 1.481 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.5865, allocations: 4.094 kB / 1.481 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.5878, allocations: 231.7 kB / 1.481 GB, free: 15.03 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/0.5899, allocations: 0.6672 MB / 1.482 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.5901, allocations: 36 kB / 1.482 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/0.6074, allocations: 15.77 MB / 1.497 GB, free: 13.49 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.6074, allocations: 7.938 kB / 1.497 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007066/0.6144, allocations: 3.998 MB / 1.501 GB, free: 9.375 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/0.6157, allocations: 386.6 kB / 1.502 GB, free: 8.996 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/0.616, allocations: 43.86 kB / 1.502 GB, free: 8.953 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009233/0.6169, allocations: 79.89 kB / 1.502 GB, free: 8.875 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/0.6172, allocations: 116.7 kB / 1.502 GB, free: 8.762 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.6173, allocations: 44 kB / 1.502 GB, free: 8.719 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001478/0.6188, allocations: 0.9903 MB / 1.503 GB, free: 7.738 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6188, allocations: 0 / 1.503 GB, free: 7.738 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002315/0.6211, allocations: 0.6836 MB / 1.504 GB, free: 7.055 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007208/0.6283, allocations: 4.6 MB / 1.508 GB, free: 2.336 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005792/0.6341, allocations: 3.378 MB / 1.511 GB, free: 14.84 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.6341, allocations: 0 / 1.511 GB, free: 14.84 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00359/0.6377, allocations: 2.24 MB / 1.514 GB, free: 12.48 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/0.6407, allocations: 0.6899 MB / 1.514 GB, free: 11.81 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03648/0.6772, allocations: 21.29 MB / 1.535 GB, free: 5.645 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/0.68, allocations: 2.109 MB / 1.537 GB, free: 3.5 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001601/0.6816, allocations: 489.4 kB / 1.538 GB, free: 3.02 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/0.6833, allocations: 1.276 MB / 1.539 GB, free: 1.746 MB / 1.232 GB Notification: Performance of SimCode: time 1.512e-06/0.6833, allocations: 0 / 1.539 GB, free: 1.746 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/0.8259, allocations: 62.13 MB / 1.6 GB, free: 4.578 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.9, allocations: 11.38 kB / 1.6 GB, free: 4.574 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: 21.399467098992318]