Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000773/0.000773, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007967/0.0007967, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8529/0.8529, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.666/1.666, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.066e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02073/0.02075, allocations: 28.73 MB / 0.9786 GB, free: 6.648 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01402/0.03476, allocations: 13.05 MB / 0.9913 GB, free: 9.559 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.03661, allocations: 194.5 kB / 0.9915 GB, free: 9.367 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0037/0.04031, allocations: 3.218 MB / 0.9946 GB, free: 6.141 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.004605/0.04491, allocations: 2.83 MB / 0.9974 GB, free: 3.297 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.04812, allocations: 2.046 MB / 0.9994 GB, free: 1.25 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0056/0.05372, allocations: 7.791 MB / 1.007 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003809/0.05753, allocations: 4.62 MB / 1.012 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00387/0.0614, allocations: 4.904 MB / 1.016 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.06376, allocations: 3.051 MB / 1.019 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0004781/0.06424, allocations: 0.5977 MB / 1.02 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.06592, allocations: 1.419 MB / 1.021 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.06722, allocations: 2.517 MB / 1.024 GB, free: 8.176 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.06857, allocations: 2 MB / 1.026 GB, free: 6.172 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.005395/0.07397, allocations: 9.603 MB / 1.035 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.07397, allocations: 0 / 1.035 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.07397, allocations: 0 / 1.035 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.827e-05/0.07404, allocations: 3.984 kB / 1.035 GB, free: 12.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.004927/0.07897, allocations: 5.129 MB / 1.04 GB, free: 7.344 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.07901, allocations: 8.031 kB / 1.04 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005294/0.07953, allocations: 0.6164 MB / 1.041 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.08223, allocations: 1.032 MB / 1.042 GB, free: 5.672 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.08568, allocations: 3.009 MB / 1.045 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.08582, allocations: 312.8 kB / 1.045 GB, free: 2.262 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/0.08625, allocations: 428.3 kB / 1.045 GB, free: 1.844 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4122/0.4984, allocations: 7.358 MB / 1.053 GB, free: 124.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.142e-05/0.4985, allocations: 33.77 kB / 1.053 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/0.4988, allocations: 181 kB / 1.053 GB, free: 124 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004232/0.4992, allocations: 370.5 kB / 1.053 GB, free: 124 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.5034, allocations: 5.105 MB / 1.058 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/0.5166, allocations: 19.75 MB / 1.077 GB, free: 109.9 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.5176, allocations: 1.311 MB / 1.079 GB, free: 109.4 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009078/0.5185, allocations: 1.254 MB / 1.08 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.739e-05/0.5186, allocations: 20.23 kB / 1.08 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.5186, allocations: 44.97 kB / 1.08 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=130): time 3.877e-06/0.5186, allocations: 0 / 1.08 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=199): time 0.0452/0.5638, allocations: 22.84 MB / 1.102 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.5638, allocations: 72.47 kB / 1.102 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.5659, allocations: 2.096 MB / 1.104 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.753e-05/0.566, allocations: 62.58 kB / 1.104 GB, free: 103.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007358/0.5667, allocations: 2.062 MB / 1.106 GB, free: 102 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.567, allocations: 0.6985 MB / 1.107 GB, free: 101.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/0.5675, allocations: 410.2 kB / 1.107 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.701e-05/0.5675, allocations: 306 kB / 1.108 GB, free: 101 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.5689, allocations: 1.429 MB / 1.109 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.5705, allocations: 2.013 MB / 1.111 GB, free: 99.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.5736, allocations: 3.697 MB / 1.115 GB, free: 97 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.5736, allocations: 5.281 kB / 1.115 GB, free: 97 MB / 0.9948 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006989/0.5806, allocations: 5.601 MB / 1.12 GB, free: 94.67 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.5806, allocations: 12.31 kB / 1.12 GB, free: 94.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.5806, allocations: 20.88 kB / 1.12 GB, free: 94.67 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/0.5844, allocations: 2.083 MB / 1.122 GB, free: 94.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/0.5852, allocations: 374.7 kB / 1.123 GB, free: 93.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/0.6036, allocations: 36.26 MB / 1.158 GB, free: 64.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.6049, allocations: 124.8 kB / 1.158 GB, free: 64.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.6051, allocations: 93.28 kB / 1.158 GB, free: 64.5 MB / 0.9948 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.001698/0.6068, allocations: 1.504 MB / 1.16 GB, free: 62.99 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.607, allocations: 302.2 kB / 1.16 GB, free: 62.69 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004976/0.612, allocations: 5.141 MB / 1.165 GB, free: 57.47 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.612, allocations: 24 kB / 1.165 GB, free: 57.45 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.612, allocations: 16 kB / 1.165 GB, free: 57.43 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.612, allocations: 11.95 kB / 1.165 GB, free: 57.42 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008199/0.6202, allocations: 9.088 MB / 1.174 GB, free: 48.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.6202, allocations: 9.031 kB / 1.174 GB, free: 48.17 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.6206, allocations: 211.6 kB / 1.174 GB, free: 47.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/0.6232, allocations: 1.842 MB / 1.176 GB, free: 46.07 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.6233, allocations: 40 kB / 1.176 GB, free: 46.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/0.6387, allocations: 35.26 MB / 1.21 GB, free: 8.746 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.6387, allocations: 8 kB / 1.21 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004475/0.6432, allocations: 4.847 MB / 1.215 GB, free: 3.734 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007089/0.6439, allocations: 0.5529 MB / 1.216 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.6441, allocations: 43.98 kB / 1.216 GB, free: 3.141 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006912/0.6448, allocations: 135.8 kB / 1.216 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003421/0.6451, allocations: 197.5 kB / 1.216 GB, free: 2.812 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.6452, allocations: 66.61 kB / 1.216 GB, free: 2.75 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001107/0.6463, allocations: 1.371 MB / 1.217 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6463, allocations: 0 / 1.217 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002226/0.6485, allocations: 1.051 MB / 1.219 GB, free: 328 kB / 0.9948 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.005407/0.6539, allocations: 5.455 MB / 1.224 GB, free: 10.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005575/0.6595, allocations: 6.005 MB / 1.23 GB, free: 4.457 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.6595, allocations: 0 / 1.23 GB, free: 4.457 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003306/0.6628, allocations: 4.269 MB / 1.234 GB, free: 15.96 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.665, allocations: 0.9916 MB / 1.235 GB, free: 15.01 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03329/0.6983, allocations: 30.85 MB / 1.265 GB, free: 15.12 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/0.7004, allocations: 2.576 MB / 1.267 GB, free: 12.52 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001143/0.7016, allocations: 0.5237 MB / 1.268 GB, free: 11.99 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.7028, allocations: 1.676 MB / 1.27 GB, free: 10.31 MB / 1.057 GB Notification: Performance of SimCode: time 1.233e-06/0.7028, allocations: 0 / 1.27 GB, free: 10.31 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/0.8218, allocations: 94.42 MB / 1.362 GB, free: 13.48 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/9.61, allocations: 3.938 kB / 1.362 GB, free: 13.48 MB / 1.151 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.831815348938107]