Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001177/0.001177, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000827/0.000827, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8441/0.8441, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.701/1.701, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.116e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01965/0.01967, allocations: 28.71 MB / 1.028 GB, free: 0.6602 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.0328, allocations: 13.06 MB / 1.04 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.03451, allocations: 198.4 kB / 1.041 GB, free: 3.367 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003627/0.03814, allocations: 3.221 MB / 1.044 GB, free: 144 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.4117/0.4499, allocations: 2.828 MB / 1.047 GB, free: 49.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.4527, allocations: 2.04 MB / 1.049 GB, free: 49.5 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004001/0.4567, allocations: 7.785 MB / 1.056 GB, free: 48.19 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003214/0.4599, allocations: 4.605 MB / 1.061 GB, free: 47.59 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.4632, allocations: 4.917 MB / 1.065 GB, free: 46.12 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.4653, allocations: 3.05 MB / 1.068 GB, free: 45.4 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004262/0.4657, allocations: 0.5931 MB / 1.069 GB, free: 45.4 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.4672, allocations: 1.419 MB / 1.07 GB, free: 45.21 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001/0.4682, allocations: 2.529 MB / 1.073 GB, free: 44.14 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.4697, allocations: 1.994 MB / 1.075 GB, free: 43.29 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.006768/0.4765, allocations: 9.607 MB / 1.084 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4765, allocations: 4 kB / 1.084 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4765, allocations: 0.75 kB / 1.084 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001503/0.4766, allocations: 0 / 1.084 GB, free: 40.54 MB / 0.9948 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.006287/0.4829, allocations: 5.113 MB / 1.089 GB, free: 37.68 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.483, allocations: 10.78 kB / 1.089 GB, free: 37.68 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000596/0.4836, allocations: 0.6159 MB / 1.09 GB, free: 37.34 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/0.4864, allocations: 1.034 MB / 1.091 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/0.4899, allocations: 3.014 MB / 1.094 GB, free: 35.63 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.49, allocations: 313.1 kB / 1.094 GB, free: 35.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004599/0.4905, allocations: 420.5 kB / 1.094 GB, free: 35.36 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007106/0.4976, allocations: 7.368 MB / 1.102 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-05/0.4977, allocations: 19.28 kB / 1.102 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/0.498, allocations: 188 kB / 1.102 GB, free: 31.65 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004884/0.4985, allocations: 373.6 kB / 1.102 GB, free: 31.61 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005405/0.5039, allocations: 5.104 MB / 1.107 GB, free: 29.88 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/0.5192, allocations: 19.75 MB / 1.126 GB, free: 17.43 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.5205, allocations: 1.307 MB / 1.128 GB, free: 16.93 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.5216, allocations: 1.249 MB / 1.129 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.689e-05/0.5217, allocations: 13.81 kB / 1.129 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5217, allocations: 48.41 kB / 1.129 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=130): time 2.935e-06/0.5217, allocations: 3.938 kB / 1.129 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of matching and sorting (n=199): time 0.04176/0.5635, allocations: 22.85 MB / 1.151 GB, free: 9.566 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.5635, allocations: 70.97 kB / 1.151 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.565, allocations: 2.101 MB / 1.153 GB, free: 8.367 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.5651, allocations: 57.39 kB / 1.154 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.5656, allocations: 2.062 MB / 1.156 GB, free: 6.504 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.5659, allocations: 0.6987 MB / 1.156 GB, free: 5.898 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003958/0.5663, allocations: 408.5 kB / 1.157 GB, free: 5.668 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.074e-05/0.5663, allocations: 303.8 kB / 1.157 GB, free: 5.371 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.5674, allocations: 1.426 MB / 1.158 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.5687, allocations: 2.015 MB / 1.16 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/0.5713, allocations: 3.701 MB / 1.164 GB, free: 0.7578 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.5713, allocations: 5.594 kB / 1.164 GB, free: 0.7578 MB / 0.9948 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006013/0.5773, allocations: 5.602 MB / 1.169 GB, free: 11.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.5773, allocations: 16.03 kB / 1.169 GB, free: 11.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.5773, allocations: 23.94 kB / 1.169 GB, free: 11.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/0.5807, allocations: 2.077 MB / 1.171 GB, free: 9.344 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.5814, allocations: 380.2 kB / 1.172 GB, free: 9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.6037, allocations: 36.25 MB / 1.207 GB, free: 2.879 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.6054, allocations: 127.8 kB / 1.207 GB, free: 2.754 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.6055, allocations: 92 kB / 1.207 GB, free: 2.664 MB / 1.042 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.002107/0.6076, allocations: 1.497 MB / 1.209 GB, free: 1.18 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.6079, allocations: 298.2 kB / 1.209 GB, free: 0.8867 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005766/0.6137, allocations: 5.154 MB / 1.214 GB, free: 11.73 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.6137, allocations: 20 kB / 1.214 GB, free: 11.71 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/0.6137, allocations: 16 kB / 1.214 GB, free: 11.69 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.6137, allocations: 19.89 kB / 1.214 GB, free: 11.67 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.6245, allocations: 9.089 MB / 1.223 GB, free: 2.531 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.6245, allocations: 7.938 kB / 1.223 GB, free: 2.523 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.625, allocations: 225 kB / 1.223 GB, free: 2.316 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/0.6278, allocations: 1.826 MB / 1.225 GB, free: 452 kB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.6279, allocations: 43.75 kB / 1.225 GB, free: 412 kB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/0.6484, allocations: 35.25 MB / 1.26 GB, free: 11.27 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.6484, allocations: 10.72 kB / 1.26 GB, free: 11.26 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00547/0.6538, allocations: 4.847 MB / 1.264 GB, free: 6.332 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.6549, allocations: 0.5547 MB / 1.265 GB, free: 5.777 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.6551, allocations: 40 kB / 1.265 GB, free: 5.738 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007341/0.6558, allocations: 131.8 kB / 1.265 GB, free: 5.609 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/0.6563, allocations: 204.4 kB / 1.265 GB, free: 5.418 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.6563, allocations: 59.94 kB / 1.265 GB, free: 5.359 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001279/0.6576, allocations: 1.378 MB / 1.267 GB, free: 3.973 MB / 1.104 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6576, allocations: 4 kB / 1.267 GB, free: 3.969 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.002352/0.66, allocations: 1.043 MB / 1.268 GB, free: 2.926 MB / 1.104 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.005194/0.6652, allocations: 5.46 MB / 1.273 GB, free: 13.38 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.005532/0.6707, allocations: 6.002 MB / 1.279 GB, free: 7.25 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.6707, allocations: 11.88 kB / 1.279 GB, free: 7.238 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.003464/0.6742, allocations: 4.266 MB / 1.283 GB, free: 2.781 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.6765, allocations: 1.003 MB / 1.284 GB, free: 1.809 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03288/0.7094, allocations: 30.82 MB / 1.314 GB, free: 1.988 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/0.7115, allocations: 2.576 MB / 1.317 GB, free: 15.38 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001185/0.7127, allocations: 0.5198 MB / 1.317 GB, free: 14.86 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.7139, allocations: 1.676 MB / 1.319 GB, free: 13.18 MB / 1.167 GB Notification: Performance of SimCode: time 9.92e-07/0.7139, allocations: 0 / 1.319 GB, free: 13.18 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/0.8368, allocations: 94.4 MB / 1.411 GB, free: 324 kB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.548/10.38, allocations: 4 kB / 1.411 GB, free: 320 kB / 1.245 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.581320844590664]