Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001854/0.001854, allocations: 102.5 kB / 16.45 MB, free: 6.504 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.002159/0.002159, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.129/3.129, allocations: 0.49 GB / 0.7916 GB, free: 33.53 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_R_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.002061/0.002061, allocations: 66.08 kB / 1.149 GB, free: 26.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 176.1 MB / 1.321 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04688/0.3603, allocations: 38.59 MB / 1.359 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.38, allocations: 11.16 MB / 1.369 GB, free: 1.543 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003495/0.3835, allocations: 202.6 kB / 1.37 GB, free: 1.344 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01132/0.3948, allocations: 4.414 MB / 1.374 GB, free: 12.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006619/0.4014, allocations: 2.336 MB / 1.376 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005738/0.4071, allocations: 2.182 MB / 1.378 GB, free: 8.391 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01182/0.419, allocations: 9.284 MB / 1.387 GB, free: 15.08 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01383/0.4328, allocations: 8.53 MB / 1.396 GB, free: 6.43 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007757/0.4405, allocations: 4.102 MB / 1.4 GB, free: 2.316 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007922/0.4485, allocations: 4.755 MB / 1.404 GB, free: 13.55 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002162/0.4506, allocations: 0.8203 MB / 1.405 GB, free: 12.73 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.4547, allocations: 1.607 MB / 1.407 GB, free: 11.12 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004403/0.4591, allocations: 3.235 MB / 1.41 GB, free: 7.875 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006396/0.4655, allocations: 3.661 MB / 1.413 GB, free: 4.199 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.481, allocations: 12.34 MB / 1.426 GB, free: 7.82 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.481, allocations: 0 / 1.426 GB, free: 7.82 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.234e-06/0.481, allocations: 0 / 1.426 GB, free: 7.82 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003693/0.4813, allocations: 0 / 1.426 GB, free: 7.82 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0163/0.4976, allocations: 6.474 MB / 1.432 GB, free: 1.266 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.4977, allocations: 11.98 kB / 1.432 GB, free: 1.254 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/0.4992, allocations: 0.8294 MB / 1.433 GB, free: 424 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005316/0.5045, allocations: 1.093 MB / 1.434 GB, free: 15.32 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006901/0.5114, allocations: 3.64 MB / 1.437 GB, free: 11.62 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/0.5118, allocations: 423.7 kB / 1.438 GB, free: 11.21 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/0.5129, allocations: 0.5394 MB / 1.438 GB, free: 10.67 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.5311, allocations: 9.374 MB / 1.447 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.5312, allocations: 27.83 kB / 1.447 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009059/0.5321, allocations: 247.9 kB / 1.448 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000655/0.5328, allocations: 422.9 kB / 1.448 GB, free: 288 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/0.548, allocations: 7.123 MB / 1.455 GB, free: 9.148 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05138/0.5994, allocations: 41.07 MB / 1.495 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005031/0.6044, allocations: 2.905 MB / 1.498 GB, free: 9.422 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002981/0.6074, allocations: 1.95 MB / 1.5 GB, free: 7.477 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.6075, allocations: 25.94 kB / 1.5 GB, free: 7.449 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.6076, allocations: 60.56 kB / 1.5 GB, free: 7.383 MB / 1.201 GB Notification: Performance of pre-optimization done (n=209): time 3.637e-06/0.6076, allocations: 0 / 1.5 GB, free: 7.383 MB / 1.201 GB Notification: Performance of matching and sorting (n=212): time 0.02517/0.6328, allocations: 10.57 MB / 1.51 GB, free: 12.72 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.6328, allocations: 77.39 kB / 1.51 GB, free: 12.63 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/0.6356, allocations: 2.013 MB / 1.512 GB, free: 10.6 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/0.6358, allocations: 65.7 kB / 1.512 GB, free: 10.53 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.6376, allocations: 2.474 MB / 1.515 GB, free: 8.031 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007405/0.6383, allocations: 0.7669 MB / 1.516 GB, free: 7.258 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007784/0.6391, allocations: 477.5 kB / 1.516 GB, free: 6.785 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6392, allocations: 309.1 kB / 1.516 GB, free: 6.48 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.6412, allocations: 1.368 MB / 1.518 GB, free: 5.109 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/0.6439, allocations: 2.112 MB / 1.52 GB, free: 2.684 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005135/0.649, allocations: 3.766 MB / 1.523 GB, free: 14.6 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.649, allocations: 4 kB / 1.523 GB, free: 14.6 MB / 1.232 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008589/0.6576, allocations: 5.027 MB / 1.528 GB, free: 9.547 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.6576, allocations: 12 kB / 1.528 GB, free: 9.535 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/0.6577, allocations: 24 kB / 1.528 GB, free: 9.512 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003706/0.6614, allocations: 1.575 MB / 1.53 GB, free: 7.926 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.6631, allocations: 467.2 kB / 1.53 GB, free: 7.469 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02555/0.6886, allocations: 18.58 MB / 1.548 GB, free: 4.336 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.6911, allocations: 155.8 kB / 1.549 GB, free: 4.184 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004566/0.6916, allocations: 104 kB / 1.549 GB, free: 4.082 MB / 1.248 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003704/0.6953, allocations: 1.937 MB / 1.551 GB, free: 2.133 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008072/0.6961, allocations: 302.2 kB / 1.551 GB, free: 1.836 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008636/0.7048, allocations: 4.404 MB / 1.555 GB, free: 13.4 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.7048, allocations: 20.12 kB / 1.555 GB, free: 13.38 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-05/0.7048, allocations: 24 kB / 1.555 GB, free: 13.36 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/0.7048, allocations: 7.969 kB / 1.555 GB, free: 13.35 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01833/0.7232, allocations: 9.609 MB / 1.565 GB, free: 3.594 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.7232, allocations: 4.562 kB / 1.565 GB, free: 3.59 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.7243, allocations: 235.6 kB / 1.565 GB, free: 3.359 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003717/0.728, allocations: 1.426 MB / 1.566 GB, free: 1.922 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/0.7282, allocations: 40 kB / 1.566 GB, free: 1.883 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0263/0.7545, allocations: 18.59 MB / 1.584 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.7545, allocations: 4 kB / 1.584 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008267/0.7628, allocations: 4.507 MB / 1.589 GB, free: 10.12 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/0.7643, allocations: 0.6475 MB / 1.589 GB, free: 9.457 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005456/0.7648, allocations: 43.98 kB / 1.589 GB, free: 9.414 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.7663, allocations: 119.9 kB / 1.59 GB, free: 9.297 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005243/0.7669, allocations: 181.6 kB / 1.59 GB, free: 9.121 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.767, allocations: 63.94 kB / 1.59 GB, free: 9.059 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002221/0.7693, allocations: 1.315 MB / 1.591 GB, free: 7.734 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.7693, allocations: 4 kB / 1.591 GB, free: 7.73 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003481/0.7727, allocations: 1.141 MB / 1.592 GB, free: 6.59 MB / 1.295 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00801/0.7807, allocations: 5.118 MB / 1.597 GB, free: 1.371 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.6916/1.472, allocations: 4.527 MB / 1.602 GB, free: 261.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.472, allocations: 2.812 kB / 1.602 GB, free: 261.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004665/1.477, allocations: 2.806 MB / 1.604 GB, free: 260.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004035/1.481, allocations: 0.9033 MB / 1.605 GB, free: 260.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04856/1.53, allocations: 30.45 MB / 1.635 GB, free: 247.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003892/1.533, allocations: 3.693 MB / 1.639 GB, free: 246 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001926/1.535, allocations: 0.5524 MB / 1.639 GB, free: 245.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/1.537, allocations: 1.943 MB / 1.641 GB, free: 244.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.332e-06/1.537, allocations: 0 / 1.641 GB, free: 244.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1268/1.664, allocations: 85.91 MB / 1.725 GB, free: 165.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/16.68, allocations: 16.14 kB / 1.725 GB, free: 165.1 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 23.882821086095646]