Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001309/0.001309, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001496/0.001496, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.816 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.086/3.086, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 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,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.002075/0.002075, allocations: 70.02 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3169, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03848/0.3553, allocations: 29.28 MB / 1.354 GB, free: 4.965 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0233/0.3786, allocations: 13.2 MB / 1.367 GB, free: 7.738 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002943/0.3816, allocations: 194.5 kB / 1.367 GB, free: 7.547 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009022/0.3906, allocations: 3.216 MB / 1.37 GB, free: 4.324 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007724/0.3983, allocations: 2.747 MB / 1.373 GB, free: 1.562 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005704/0.404, allocations: 2.025 MB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01048/0.4145, allocations: 7.618 MB / 1.382 GB, free: 7.891 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008542/0.423, allocations: 4.588 MB / 1.386 GB, free: 3.184 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006685/0.4297, allocations: 3.67 MB / 1.39 GB, free: 15.5 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005878/0.4356, allocations: 3.293 MB / 1.393 GB, free: 12.2 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.4374, allocations: 0.5938 MB / 1.394 GB, free: 11.61 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00393/0.4414, allocations: 1.389 MB / 1.395 GB, free: 10.21 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003729/0.4451, allocations: 2.416 MB / 1.398 GB, free: 7.793 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005186/0.4503, allocations: 2.33 MB / 1.4 GB, free: 5.453 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.4637, allocations: 9.516 MB / 1.409 GB, free: 11.91 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4637, allocations: 0 / 1.409 GB, free: 11.91 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.549e-06/0.4637, allocations: 3.984 kB / 1.409 GB, free: 11.9 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003184/0.464, allocations: 0 / 1.409 GB, free: 11.9 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01364/0.4777, allocations: 5.176 MB / 1.414 GB, free: 6.66 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4777, allocations: 12.03 kB / 1.414 GB, free: 6.648 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001698/0.4794, allocations: 0.6203 MB / 1.415 GB, free: 6.016 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006442/0.4859, allocations: 1.02 MB / 1.416 GB, free: 4.992 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008222/0.4941, allocations: 3.009 MB / 1.419 GB, free: 1.891 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.4944, allocations: 312.8 kB / 1.419 GB, free: 1.582 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.4957, allocations: 431.8 kB / 1.419 GB, free: 1.16 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.5105, allocations: 7.351 MB / 1.427 GB, free: 9.383 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/0.5107, allocations: 31.81 kB / 1.427 GB, free: 9.352 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008902/0.5116, allocations: 180 kB / 1.427 GB, free: 9.176 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/0.5126, allocations: 376 kB / 1.427 GB, free: 8.805 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.523, allocations: 5.102 MB / 1.432 GB, free: 3.684 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03535/0.5583, allocations: 19.79 MB / 1.452 GB, free: 15.37 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.5606, allocations: 1.305 MB / 1.453 GB, free: 14.05 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.5625, allocations: 1.248 MB / 1.454 GB, free: 12.8 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.022e-05/0.5625, allocations: 17.31 kB / 1.454 GB, free: 12.79 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/0.5626, allocations: 51.88 kB / 1.454 GB, free: 12.73 MB / 1.154 GB Notification: Performance of pre-optimization done (n=130): time 3.496e-06/0.5626, allocations: 3.938 kB / 1.454 GB, free: 12.72 MB / 1.154 GB Notification: Performance of matching and sorting (n=199): time 0.09219/0.6548, allocations: 22.86 MB / 1.476 GB, free: 5.805 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.6548, allocations: 73.41 kB / 1.476 GB, free: 5.719 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.6579, allocations: 2.093 MB / 1.479 GB, free: 3.609 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.6581, allocations: 57.7 kB / 1.479 GB, free: 3.547 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.6597, allocations: 2.066 MB / 1.481 GB, free: 1.461 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006908/0.6604, allocations: 0.7049 MB / 1.481 GB, free: 0.75 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007404/0.6611, allocations: 412.4 kB / 1.482 GB, free: 348 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6613, allocations: 309.1 kB / 1.482 GB, free: 36 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.6635, allocations: 1.433 MB / 1.483 GB, free: 14.6 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.6663, allocations: 2.01 MB / 1.485 GB, free: 12.34 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005216/0.6715, allocations: 3.696 MB / 1.489 GB, free: 8.406 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.6715, allocations: 4 kB / 1.489 GB, free: 8.402 MB / 1.186 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01161/0.6831, allocations: 5.6 MB / 1.494 GB, free: 2.734 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.6831, allocations: 12 kB / 1.494 GB, free: 2.723 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.6832, allocations: 20 kB / 1.494 GB, free: 2.703 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007169/0.6903, allocations: 2.068 MB / 1.496 GB, free: 0.5781 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.6919, allocations: 379.4 kB / 1.497 GB, free: 212 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04257/0.7345, allocations: 36.29 MB / 1.532 GB, free: 9.844 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.7369, allocations: 128.3 kB / 1.532 GB, free: 9.719 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/0.7372, allocations: 87.98 kB / 1.532 GB, free: 9.633 MB / 1.232 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002541/0.7397, allocations: 1.512 MB / 1.534 GB, free: 8.109 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005827/0.7403, allocations: 298.2 kB / 1.534 GB, free: 7.816 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.7515, allocations: 5.149 MB / 1.539 GB, free: 2.594 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.7515, allocations: 19.98 kB / 1.539 GB, free: 2.574 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.66e-05/0.7516, allocations: 20 kB / 1.539 GB, free: 2.555 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.7516, allocations: 7.969 kB / 1.539 GB, free: 2.547 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/0.77, allocations: 9.084 MB / 1.548 GB, free: 9.262 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.7701, allocations: 8 kB / 1.548 GB, free: 9.254 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/0.771, allocations: 219.7 kB / 1.548 GB, free: 9.039 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006142/0.7771, allocations: 1.838 MB / 1.55 GB, free: 7.145 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/0.7773, allocations: 40 kB / 1.55 GB, free: 7.105 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04104/0.8183, allocations: 35.29 MB / 1.585 GB, free: 1.742 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.8183, allocations: 8 kB / 1.585 GB, free: 1.734 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.8284, allocations: 4.852 MB / 1.589 GB, free: 12.73 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/0.8303, allocations: 0.5566 MB / 1.59 GB, free: 12.17 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004689/0.8307, allocations: 43.94 kB / 1.59 GB, free: 12.12 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.8323, allocations: 128 kB / 1.59 GB, free: 12 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006035/0.8329, allocations: 209.5 kB / 1.59 GB, free: 11.79 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.833, allocations: 52 kB / 1.59 GB, free: 11.74 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002117/0.8351, allocations: 1.382 MB / 1.592 GB, free: 10.35 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.8351, allocations: 0 / 1.592 GB, free: 10.35 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003491/0.8386, allocations: 1.047 MB / 1.593 GB, free: 9.305 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01001/0.8487, allocations: 5.474 MB / 1.598 GB, free: 3.66 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.5564/1.405, allocations: 6.01 MB / 1.604 GB, free: 254.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.405, allocations: 2.594 kB / 1.604 GB, free: 254.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006152/1.411, allocations: 4.277 MB / 1.608 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/1.415, allocations: 0.9926 MB / 1.609 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05037/1.466, allocations: 30.75 MB / 1.639 GB, free: 241 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002602/1.468, allocations: 2.587 MB / 1.642 GB, free: 240.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001729/1.47, allocations: 0.522 MB / 1.642 GB, free: 240.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/1.471, allocations: 1.673 MB / 1.644 GB, free: 238.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.372e-06/1.471, allocations: 0 / 1.644 GB, free: 238.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1645/1.636, allocations: 94.52 MB / 1.736 GB, free: 154.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/16.83, allocations: 3.938 kB / 1.736 GB, free: 154.4 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.781219026073813]