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.00157/0.00157, 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.001927/0.001927, allocations: 209.1 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.011/3.011, allocations: 0.49 GB / 0.7959 GB, free: 33.36 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="cs",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="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.001959/0.001959, allocations: 65.53 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3289, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04601/0.3749, allocations: 39.8 MB / 1.366 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01933/0.3943, allocations: 11.45 MB / 1.377 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.398, allocations: 198.6 kB / 1.377 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.4092, allocations: 4.553 MB / 1.381 GB, free: 9.824 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00645/0.4156, allocations: 2.328 MB / 1.384 GB, free: 7.484 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005646/0.4213, allocations: 2.259 MB / 1.386 GB, free: 5.227 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01257/0.4339, allocations: 9.285 MB / 1.395 GB, free: 11.91 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.4443, allocations: 6.407 MB / 1.401 GB, free: 5.383 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007313/0.4516, allocations: 4.098 MB / 1.405 GB, free: 1.273 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008704/0.4603, allocations: 4.759 MB / 1.41 GB, free: 12.5 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.002255/0.4626, allocations: 0.8242 MB / 1.411 GB, free: 11.68 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.4665, allocations: 1.615 MB / 1.412 GB, free: 10.06 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.003773/0.4703, allocations: 3.227 MB / 1.415 GB, free: 6.824 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.005041/0.4753, allocations: 3.653 MB / 1.419 GB, free: 3.156 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.014/0.4893, allocations: 12.34 MB / 1.431 GB, free: 6.773 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4893, allocations: 7.938 kB / 1.431 GB, free: 6.766 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4893, allocations: 0 / 1.431 GB, free: 6.766 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003535/0.4897, allocations: 4 kB / 1.431 GB, free: 6.762 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.01694/0.5066, allocations: 6.399 MB / 1.437 GB, free: 308 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5067, allocations: 12.03 kB / 1.437 GB, free: 296 kB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001535/0.5068, allocations: 147.6 kB / 1.437 GB, free: 148 kB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001605/0.5084, allocations: 0.8333 MB / 1.438 GB, free: 15.3 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/0.5134, allocations: 1.09 MB / 1.439 GB, free: 14.21 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00736/0.5208, allocations: 3.572 MB / 1.443 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000392/0.5212, allocations: 427.7 kB / 1.443 GB, free: 10.15 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/0.5228, allocations: 0.5394 MB / 1.444 GB, free: 9.613 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01912/0.5419, allocations: 9.373 MB / 1.453 GB, free: 15.91 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002572/0.5422, allocations: 23.77 kB / 1.453 GB, free: 15.88 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001604/0.5438, allocations: 248 kB / 1.453 GB, free: 15.64 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006477/0.5444, allocations: 422.9 kB / 1.453 GB, free: 15.23 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.5601, allocations: 7.12 MB / 1.46 GB, free: 8.098 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05235/0.6124, allocations: 40.72 MB / 1.5 GB, free: 11.62 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/0.6182, allocations: 2.909 MB / 1.503 GB, free: 8.715 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/0.6216, allocations: 1.937 MB / 1.505 GB, free: 6.773 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.6218, allocations: 22 kB / 1.505 GB, free: 6.75 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.6219, allocations: 60.56 kB / 1.505 GB, free: 6.684 MB / 1.201 GB Notification: Performance of pre-optimization done (n=209): time 4.649e-06/0.6219, allocations: 4 kB / 1.505 GB, free: 6.68 MB / 1.201 GB Notification: Performance of matching and sorting (n=212): time 0.02573/0.6476, allocations: 10.27 MB / 1.515 GB, free: 12.39 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.6477, allocations: 73.41 kB / 1.515 GB, free: 12.31 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/0.6509, allocations: 2.006 MB / 1.517 GB, free: 10.29 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002165/0.6511, allocations: 65.7 kB / 1.517 GB, free: 10.21 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001848/0.653, allocations: 2.478 MB / 1.52 GB, free: 7.711 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007856/0.6538, allocations: 0.7669 MB / 1.52 GB, free: 6.938 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008656/0.6546, allocations: 485.5 kB / 1.521 GB, free: 6.457 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6548, allocations: 305.1 kB / 1.521 GB, free: 6.156 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.6569, allocations: 1.376 MB / 1.522 GB, free: 4.777 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.6595, allocations: 2.1 MB / 1.524 GB, free: 2.363 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005038/0.6646, allocations: 3.766 MB / 1.528 GB, free: 14.29 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/0.6646, allocations: 12 kB / 1.528 GB, free: 14.28 MB / 1.233 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008867/0.6735, allocations: 5.023 MB / 1.533 GB, free: 9.23 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.6735, allocations: 20.06 kB / 1.533 GB, free: 9.211 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.06e-05/0.6735, allocations: 20 kB / 1.533 GB, free: 9.191 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003733/0.6773, allocations: 1.584 MB / 1.535 GB, free: 7.598 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.679, allocations: 455.2 kB / 1.535 GB, free: 7.152 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02455/0.7036, allocations: 18.18 MB / 1.553 GB, free: 4.516 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.7059, allocations: 147.8 kB / 1.553 GB, free: 4.371 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003973/0.7063, allocations: 108 kB / 1.553 GB, free: 4.266 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.003545/0.7098, allocations: 1.941 MB / 1.555 GB, free: 2.312 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009875/0.7108, allocations: 302.2 kB / 1.555 GB, free: 2.016 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008447/0.7193, allocations: 4.4 MB / 1.56 GB, free: 13.58 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.7193, allocations: 20 kB / 1.56 GB, free: 13.56 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.819e-05/0.7193, allocations: 16 kB / 1.56 GB, free: 13.55 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.7194, allocations: 19.97 kB / 1.56 GB, free: 13.53 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/0.7386, allocations: 9.608 MB / 1.569 GB, free: 3.781 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.7386, allocations: 4 kB / 1.569 GB, free: 3.777 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.7397, allocations: 231.6 kB / 1.569 GB, free: 3.551 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/0.7432, allocations: 1.425 MB / 1.571 GB, free: 2.117 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002521/0.7434, allocations: 40.12 kB / 1.571 GB, free: 2.078 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02573/0.7692, allocations: 18.18 MB / 1.588 GB, free: 15.43 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.7692, allocations: 11.94 kB / 1.588 GB, free: 15.42 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008315/0.7775, allocations: 4.503 MB / 1.593 GB, free: 10.82 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/0.7792, allocations: 0.5683 MB / 1.593 GB, free: 10.25 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006969/0.7799, allocations: 47.98 kB / 1.593 GB, free: 10.21 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.7816, allocations: 111.9 kB / 1.594 GB, free: 10.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006224/0.7822, allocations: 193.5 kB / 1.594 GB, free: 9.91 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/0.7824, allocations: 56 kB / 1.594 GB, free: 9.855 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002561/0.785, allocations: 1.323 MB / 1.595 GB, free: 8.523 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.785, allocations: 0 / 1.595 GB, free: 8.523 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004343/0.7893, allocations: 1.137 MB / 1.596 GB, free: 7.387 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.008618/0.7979, allocations: 5.122 MB / 1.601 GB, free: 2.168 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.6213/1.419, allocations: 4.532 MB / 1.606 GB, free: 259.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.419, allocations: 3.062 kB / 1.606 GB, free: 259.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004681/1.424, allocations: 2.804 MB / 1.608 GB, free: 259.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00387/1.428, allocations: 0.893 MB / 1.609 GB, free: 259.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04807/1.476, allocations: 30.58 MB / 1.639 GB, free: 246.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003055/1.479, allocations: 3.697 MB / 1.643 GB, free: 244.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00169/1.481, allocations: 0.5574 MB / 1.643 GB, free: 244.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/1.482, allocations: 1.946 MB / 1.645 GB, free: 243.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.062e-06/1.482, allocations: 0 / 1.645 GB, free: 243.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.602, allocations: 88.24 MB / 1.731 GB, free: 162.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/17.77, allocations: 9.078 kB / 1.731 GB, free: 162.5 MB / 1.295 GB " [Timeout remaining time 282] (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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 25.332026416959707]