Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001651/0.001651, allocations: 109 kB / 16.45 MB, free: 6.035 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.001916/0.001916, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.396/1.396, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.079/3.079, allocations: 497.2 MB / 0.7811 GB, free: 33.83 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 72.02 kB / 1.134 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3234, allocations: 173.9 MB / 1.304 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02691/0.3503, allocations: 20.57 MB / 1.324 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.3625, allocations: 6.527 MB / 1.33 GB, free: 6.328 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.3643, allocations: 87.56 kB / 1.331 GB, free: 6.242 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006117/0.3704, allocations: 2.277 MB / 1.333 GB, free: 3.961 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.3741, allocations: 1.244 MB / 1.334 GB, free: 2.711 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.3781, allocations: 1.278 MB / 1.335 GB, free: 1.434 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007266/0.3854, allocations: 4.846 MB / 1.34 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007734/0.3931, allocations: 4.252 MB / 1.344 GB, free: 8.254 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004226/0.3974, allocations: 2.111 MB / 1.346 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004678/0.402, allocations: 2.473 MB / 1.349 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.4035, allocations: 432 kB / 1.349 GB, free: 3.234 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.4065, allocations: 1.022 MB / 1.35 GB, free: 2.211 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002563/0.4091, allocations: 1.711 MB / 1.352 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003276/0.4124, allocations: 1.918 MB / 1.354 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007721/0.4201, allocations: 6.533 MB / 1.36 GB, free: 8.016 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4201, allocations: 4 kB / 1.36 GB, free: 8.012 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4201, allocations: 4 kB / 1.36 GB, free: 8.008 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000129/0.4202, allocations: 0 / 1.36 GB, free: 8.008 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007284/0.4275, allocations: 3.529 MB / 1.363 GB, free: 4.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4275, allocations: 8.625 kB / 1.363 GB, free: 4.402 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006816/0.4282, allocations: 458.6 kB / 1.364 GB, free: 3.941 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.4316, allocations: 0.6584 MB / 1.364 GB, free: 3.281 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004612/0.4362, allocations: 2.046 MB / 1.366 GB, free: 1.176 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.4364, allocations: 230.3 kB / 1.367 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005699/0.4369, allocations: 292.1 kB / 1.367 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008401/0.4454, allocations: 4.882 MB / 1.372 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.572e-05/0.4454, allocations: 19.83 kB / 1.372 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003492/0.4458, allocations: 128 kB / 1.372 GB, free: 11.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004288/0.4462, allocations: 233.7 kB / 1.372 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007008/0.4532, allocations: 3.754 MB / 1.376 GB, free: 7.445 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.4792, allocations: 21.44 MB / 1.397 GB, free: 8 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.4812, allocations: 1.229 MB / 1.398 GB, free: 14.77 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.4828, allocations: 0.9835 MB / 1.399 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.828e-05/0.4829, allocations: 13 kB / 1.399 GB, free: 13.77 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/0.4829, allocations: 51.5 kB / 1.399 GB, free: 13.71 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.306e-06/0.4829, allocations: 0 / 1.399 GB, free: 13.71 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.02378/0.5067, allocations: 8.657 MB / 1.407 GB, free: 4.996 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.5067, allocations: 68.72 kB / 1.407 GB, free: 4.918 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.5083, allocations: 1.134 MB / 1.409 GB, free: 3.777 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.5084, allocations: 45.7 kB / 1.409 GB, free: 3.727 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009482/0.5093, allocations: 1.335 MB / 1.41 GB, free: 2.379 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/0.5097, allocations: 0.4957 MB / 1.41 GB, free: 1.879 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004631/0.5102, allocations: 291.5 kB / 1.411 GB, free: 1.586 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5103, allocations: 305.1 kB / 1.411 GB, free: 1.285 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.5117, allocations: 0.9174 MB / 1.412 GB, free: 376 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.5134, allocations: 1.326 MB / 1.413 GB, free: 14.87 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/0.5168, allocations: 2.43 MB / 1.415 GB, free: 12.27 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.475e-06/0.5168, allocations: 4 kB / 1.416 GB, free: 12.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006257/0.523, allocations: 3.441 MB / 1.419 GB, free: 8.805 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.5231, allocations: 8 kB / 1.419 GB, free: 8.797 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.5231, allocations: 12 kB / 1.419 GB, free: 8.785 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00322/0.5263, allocations: 1.185 MB / 1.42 GB, free: 7.594 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009926/0.5273, allocations: 255.6 kB / 1.42 GB, free: 7.344 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01853/0.5458, allocations: 13.85 MB / 1.434 GB, free: 9.078 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.5472, allocations: 92.34 kB / 1.434 GB, free: 8.988 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.5474, allocations: 64 kB / 1.434 GB, free: 8.926 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001871/0.5493, allocations: 1.106 MB / 1.435 GB, free: 7.809 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.5497, allocations: 182.9 kB / 1.435 GB, free: 7.629 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005825/0.5555, allocations: 3.122 MB / 1.438 GB, free: 4.488 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.5555, allocations: 16 kB / 1.438 GB, free: 4.473 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.349e-05/0.5555, allocations: 15.94 kB / 1.438 GB, free: 4.457 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.5555, allocations: 7.969 kB / 1.438 GB, free: 4.449 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.5666, allocations: 6.206 MB / 1.444 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.5666, allocations: 4 kB / 1.444 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.5672, allocations: 143.8 kB / 1.445 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00288/0.5701, allocations: 1.08 MB / 1.446 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/0.5702, allocations: 24 kB / 1.446 GB, free: 12.85 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01774/0.588, allocations: 13.56 MB / 1.459 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.588, allocations: 4 kB / 1.459 GB, free: 14.87 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005535/0.5935, allocations: 3.124 MB / 1.462 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.5945, allocations: 439.8 kB / 1.462 GB, free: 11.21 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.5947, allocations: 24 kB / 1.462 GB, free: 11.18 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007527/0.5955, allocations: 83.89 kB / 1.462 GB, free: 11.1 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/0.5958, allocations: 124.7 kB / 1.463 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.884e-05/0.5959, allocations: 43.97 kB / 1.463 GB, free: 10.94 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001073/0.597, allocations: 0.7671 MB / 1.463 GB, free: 10.17 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.597, allocations: 0 / 1.463 GB, free: 10.17 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00183/0.5988, allocations: 0.6562 MB / 1.464 GB, free: 9.512 MB / 1.17 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005601/0.6044, allocations: 3.702 MB / 1.468 GB, free: 5.719 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004939/0.6094, allocations: 3.02 MB / 1.471 GB, free: 2.66 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6094, allocations: 0 / 1.471 GB, free: 2.66 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003001/0.6124, allocations: 1.873 MB / 1.472 GB, free: 0.75 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.6145, allocations: 0.4887 MB / 1.473 GB, free: 276 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03109/0.6456, allocations: 19.13 MB / 1.491 GB, free: 12.55 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/0.6482, allocations: 2.34 MB / 1.494 GB, free: 10.18 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001023/0.6492, allocations: 346.1 kB / 1.494 GB, free: 9.836 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.6504, allocations: 1.007 MB / 1.495 GB, free: 8.828 MB / 1.201 GB Notification: Performance of SimCode: time 1.322e-06/0.6504, allocations: 0 / 1.495 GB, free: 8.828 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/0.7577, allocations: 52.65 MB / 1.547 GB, free: 4.84 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.28, allocations: 7.797 kB / 1.547 GB, free: 4.832 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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: 20.106712044216692]