Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001522/0.001522, allocations: 107.1 kB / 16.45 MB, free: 6.508 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.001748/0.001748, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.144/3.144, allocations: 0.49 GB / 0.7916 GB, free: 33.4 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,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001949/0.001949, allocations: 77.33 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3089, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04446/0.3534, allocations: 35.71 MB / 1.356 GB, free: 15.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01888/0.3722, allocations: 10.1 MB / 1.366 GB, free: 5.379 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003997/0.3762, allocations: 190.6 kB / 1.366 GB, free: 5.191 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01032/0.3866, allocations: 3.871 MB / 1.37 GB, free: 1.312 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006665/0.3932, allocations: 2.138 MB / 1.372 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006122/0.3993, allocations: 1.968 MB / 1.374 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01207/0.4114, allocations: 7.963 MB / 1.381 GB, free: 5.211 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.423, allocations: 7.136 MB / 1.388 GB, free: 13.95 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007119/0.4301, allocations: 3.47 MB / 1.392 GB, free: 10.47 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007606/0.4377, allocations: 3.937 MB / 1.396 GB, free: 6.523 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002311/0.44, allocations: 0.6797 MB / 1.396 GB, free: 5.844 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.4443, allocations: 1.463 MB / 1.398 GB, free: 4.379 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004896/0.4492, allocations: 2.689 MB / 1.4 GB, free: 1.684 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007145/0.4564, allocations: 3.104 MB / 1.403 GB, free: 14.57 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.4719, allocations: 10.42 MB / 1.413 GB, free: 4.117 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4719, allocations: 0 / 1.413 GB, free: 4.117 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.574e-06/0.4719, allocations: 0 / 1.413 GB, free: 4.117 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003607/0.4722, allocations: 0 / 1.413 GB, free: 4.117 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01518/0.4874, allocations: 5.531 MB / 1.419 GB, free: 14.51 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.4875, allocations: 15.98 kB / 1.419 GB, free: 14.49 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001787/0.4893, allocations: 0.6984 MB / 1.42 GB, free: 13.79 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005706/0.495, allocations: 0.9889 MB / 1.421 GB, free: 12.79 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007073/0.502, allocations: 3.2 MB / 1.424 GB, free: 9.539 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/0.5024, allocations: 357.9 kB / 1.424 GB, free: 9.184 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/0.5038, allocations: 472.3 kB / 1.424 GB, free: 8.723 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.5191, allocations: 7.905 MB / 1.432 GB, free: 468 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/0.5192, allocations: 23.77 kB / 1.432 GB, free: 444 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006194/0.5198, allocations: 212 kB / 1.432 GB, free: 232 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005833/0.5204, allocations: 369.1 kB / 1.433 GB, free: 15.86 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.5322, allocations: 5.937 MB / 1.439 GB, free: 9.91 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04363/0.5758, allocations: 36 MB / 1.474 GB, free: 2.68 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003648/0.5795, allocations: 1.998 MB / 1.476 GB, free: 0.668 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.5816, allocations: 1.344 MB / 1.477 GB, free: 15.33 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.5817, allocations: 13.31 kB / 1.477 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.5817, allocations: 55.81 kB / 1.477 GB, free: 15.25 MB / 1.186 GB Notification: Performance of pre-optimization done (n=157): time 3.677e-06/0.5817, allocations: 3.938 kB / 1.477 GB, free: 15.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=160): time 0.01538/0.5971, allocations: 7.571 MB / 1.484 GB, free: 7.41 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.5972, allocations: 68.72 kB / 1.484 GB, free: 7.332 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/0.6001, allocations: 1.864 MB / 1.486 GB, free: 5.441 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.6003, allocations: 53.7 kB / 1.486 GB, free: 5.383 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.602, allocations: 2.188 MB / 1.488 GB, free: 3.176 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006743/0.6027, allocations: 0.581 MB / 1.489 GB, free: 2.59 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006867/0.6034, allocations: 411.9 kB / 1.489 GB, free: 2.18 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6035, allocations: 305.1 kB / 1.49 GB, free: 1.879 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.6053, allocations: 1.058 MB / 1.491 GB, free: 0.8164 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/0.6078, allocations: 1.768 MB / 1.492 GB, free: 14.72 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004424/0.6122, allocations: 3.049 MB / 1.495 GB, free: 11.36 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.6123, allocations: 8 kB / 1.495 GB, free: 11.35 MB / 1.201 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007433/0.6197, allocations: 3.902 MB / 1.499 GB, free: 7.402 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.6197, allocations: 12 kB / 1.499 GB, free: 7.391 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.6198, allocations: 24 kB / 1.499 GB, free: 7.367 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/0.6225, allocations: 0.9276 MB / 1.5 GB, free: 6.406 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.6242, allocations: 423.3 kB / 1.501 GB, free: 5.992 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0244/0.6486, allocations: 22.79 MB / 1.523 GB, free: 13.52 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.6507, allocations: 119.9 kB / 1.523 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.6509, allocations: 92 kB / 1.523 GB, free: 13.32 MB / 1.232 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.002902/0.6538, allocations: 1.652 MB / 1.525 GB, free: 11.65 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/0.6544, allocations: 270.4 kB / 1.525 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006346/0.6607, allocations: 3.228 MB / 1.528 GB, free: 8.113 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.6608, allocations: 16 kB / 1.528 GB, free: 8.098 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.181e-05/0.6608, allocations: 15.94 kB / 1.528 GB, free: 8.082 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.6608, allocations: 7.969 kB / 1.528 GB, free: 8.074 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.6749, allocations: 7.529 MB / 1.535 GB, free: 396 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.675, allocations: 11.98 kB / 1.536 GB, free: 384 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.676, allocations: 207.7 kB / 1.536 GB, free: 176 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/0.6786, allocations: 0.9041 MB / 1.537 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.6787, allocations: 32 kB / 1.537 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02475/0.7035, allocations: 22.74 MB / 1.559 GB, free: 6.777 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.7035, allocations: 4 kB / 1.559 GB, free: 6.773 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/0.7099, allocations: 3.369 MB / 1.562 GB, free: 3.293 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.7112, allocations: 0.5383 MB / 1.563 GB, free: 2.734 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004154/0.7116, allocations: 40.14 kB / 1.563 GB, free: 2.695 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.7129, allocations: 95.89 kB / 1.563 GB, free: 2.602 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004334/0.7133, allocations: 141 kB / 1.563 GB, free: 2.465 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.7134, allocations: 47.94 kB / 1.563 GB, free: 2.418 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002017/0.7154, allocations: 1.225 MB / 1.564 GB, free: 1.18 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7154, allocations: 0 / 1.564 GB, free: 1.18 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003457/0.7189, allocations: 0.9023 MB / 1.565 GB, free: 284 kB / 1.264 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006612/0.7255, allocations: 3.969 MB / 1.569 GB, free: 12.18 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007225/0.7327, allocations: 4.287 MB / 1.573 GB, free: 7.746 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.7327, allocations: 7.844 kB / 1.573 GB, free: 7.738 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004683/0.7374, allocations: 2.903 MB / 1.576 GB, free: 4.68 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/0.7411, allocations: 0.828 MB / 1.577 GB, free: 3.863 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04463/0.7857, allocations: 25.13 MB / 1.601 GB, free: 9.617 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004497/0.7902, allocations: 3.205 MB / 1.604 GB, free: 6.383 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001805/0.7921, allocations: 0.5332 MB / 1.605 GB, free: 5.844 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00237/0.7944, allocations: 1.651 MB / 1.607 GB, free: 4.191 MB / 1.311 GB Notification: Performance of SimCode: time 1.032e-06/0.7944, allocations: 3.938 kB / 1.607 GB, free: 4.188 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7473/1.542, allocations: 70.77 MB / 1.676 GB, free: 240 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/16.17, allocations: 13.16 kB / 1.676 GB, free: 240 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.233137159841135]