Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 102.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.046/3.046, allocations: 497.2 MB / 0.7812 GB, free: 11.97 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.88 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8842/0.8861, allocations: 173.9 MB / 1.304 GB, free: 32.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01385/0.9, allocations: 14.97 MB / 1.319 GB, free: 21.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.9133, allocations: 10.48 MB / 1.329 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.9152, allocations: 63.91 kB / 1.329 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004128/0.9193, allocations: 1.704 MB / 1.331 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005536/0.9248, allocations: 1.85 MB / 1.332 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.9268, allocations: 0.763 MB / 1.333 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003815/0.9306, allocations: 2.753 MB / 1.336 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.9326, allocations: 1.126 MB / 1.337 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.9355, allocations: 1.53 MB / 1.338 GB, free: 9.789 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.9379, allocations: 1.225 MB / 1.34 GB, free: 9.289 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005842/0.9385, allocations: 165.2 kB / 1.34 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.9407, allocations: 0.8007 MB / 1.341 GB, free: 9.055 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008898/0.9416, allocations: 0.619 MB / 1.341 GB, free: 8.758 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.9431, allocations: 0.9591 MB / 1.342 GB, free: 8.164 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00489/0.948, allocations: 2.767 MB / 1.345 GB, free: 7.195 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.948, allocations: 0 / 1.345 GB, free: 7.195 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.948, allocations: 0 / 1.345 GB, free: 7.195 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001008/0.9481, allocations: 5.062 kB / 1.345 GB, free: 7.191 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005678/0.9538, allocations: 2.233 MB / 1.347 GB, free: 5.777 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.9538, allocations: 10.11 kB / 1.347 GB, free: 5.777 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003592/0.9542, allocations: 193.7 kB / 1.347 GB, free: 5.656 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.9668, allocations: 2.123 MB / 1.349 GB, free: 5.504 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/0.9708, allocations: 1.319 MB / 1.351 GB, free: 4.773 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/0.9709, allocations: 85.5 kB / 1.351 GB, free: 4.734 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000487/0.9714, allocations: 119.1 kB / 1.351 GB, free: 4.691 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006332/0.9777, allocations: 2.669 MB / 1.353 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/0.9778, allocations: 15.12 kB / 1.353 GB, free: 3.609 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.978, allocations: 51.47 kB / 1.353 GB, free: 3.574 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000656/0.9786, allocations: 194.5 kB / 1.354 GB, free: 3.555 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0081/0.9867, allocations: 2.792 MB / 1.356 GB, free: 2.836 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/1.006, allocations: 10.48 MB / 1.367 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007189/1.013, allocations: 2.251 MB / 1.369 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003664/1.017, allocations: 1.205 MB / 1.37 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/1.017, allocations: 9.812 kB / 1.37 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/1.017, allocations: 44.44 kB / 1.37 GB, free: 10.63 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 2.936e-06/1.017, allocations: 0 / 1.37 GB, free: 10.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06494/1.082, allocations: 16.44 MB / 1.386 GB, free: 6.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/1.082, allocations: 75.48 kB / 1.386 GB, free: 6.246 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/1.084, allocations: 1.17 MB / 1.387 GB, free: 5.609 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004098/1.084, allocations: 50.52 kB / 1.387 GB, free: 5.559 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006873/1.085, allocations: 0.7603 MB / 1.388 GB, free: 4.883 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007574/1.086, allocations: 0.5362 MB / 1.389 GB, free: 4.406 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000627/1.086, allocations: 289 kB / 1.389 GB, free: 4.246 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.086, allocations: 309.1 kB / 1.389 GB, free: 3.941 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00408/1.09, allocations: 1.511 MB / 1.391 GB, free: 3.156 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004428/1.095, allocations: 1.779 MB / 1.392 GB, free: 2.059 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008419/1.103, allocations: 3.37 MB / 1.396 GB, free: 124 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.103, allocations: 1.312 kB / 1.396 GB, free: 124 kB / 1.076 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01516/1.118, allocations: 5.217 MB / 1.401 GB, free: 13.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/1.118, allocations: 11.41 kB / 1.401 GB, free: 13.24 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.118, allocations: 6.75 kB / 1.401 GB, free: 13.24 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007445/1.126, allocations: 1.877 MB / 1.403 GB, free: 12.26 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/1.128, allocations: 417.4 kB / 1.403 GB, free: 12.1 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03445/1.163, allocations: 24.16 MB / 1.427 GB, free: 8.125 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003144/1.166, allocations: 307.6 kB / 1.427 GB, free: 7.824 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003526/1.166, allocations: 75.91 kB / 1.427 GB, free: 7.75 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001252/1.167, allocations: 463 kB / 1.427 GB, free: 7.289 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005663/1.168, allocations: 182.9 kB / 1.428 GB, free: 7.109 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/1.183, allocations: 5.246 MB / 1.433 GB, free: 1.812 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/1.183, allocations: 12 kB / 1.433 GB, free: 1.801 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.49e-05/1.183, allocations: 20 kB / 1.433 GB, free: 1.781 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/1.183, allocations: 8.062 kB / 1.433 GB, free: 1.773 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/1.204, allocations: 7.353 MB / 1.44 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.204, allocations: 4 kB / 1.44 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/1.205, allocations: 355.3 kB / 1.44 GB, free: 9.941 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006698/1.212, allocations: 1.706 MB / 1.442 GB, free: 8.215 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003911/1.212, allocations: 51.89 kB / 1.442 GB, free: 8.164 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03243/1.245, allocations: 23.32 MB / 1.465 GB, free: 15.73 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.245, allocations: 11.92 kB / 1.465 GB, free: 15.72 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.259, allocations: 4.829 MB / 1.469 GB, free: 10.81 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/1.26, allocations: 0.4919 MB / 1.47 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004176/1.261, allocations: 28 kB / 1.47 GB, free: 10.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/1.263, allocations: 323.5 kB / 1.47 GB, free: 9.953 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006006/1.264, allocations: 145 kB / 1.47 GB, free: 9.809 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.264, allocations: 55.97 kB / 1.47 GB, free: 9.754 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001307/1.265, allocations: 0.7938 MB / 1.471 GB, free: 8.961 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/1.265, allocations: 0 / 1.471 GB, free: 8.961 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002709/1.268, allocations: 0.6523 MB / 1.472 GB, free: 8.309 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01394/1.282, allocations: 5.421 MB / 1.477 GB, free: 2.797 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01265/1.295, allocations: 4.917 MB / 1.482 GB, free: 13.77 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.295, allocations: 0 / 1.482 GB, free: 13.77 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008471/1.303, allocations: 3.273 MB / 1.485 GB, free: 10.4 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/1.307, allocations: 0.5568 MB / 1.486 GB, free: 9.859 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05452/1.361, allocations: 21.78 MB / 1.507 GB, free: 3.578 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/1.363, allocations: 1.564 MB / 1.508 GB, free: 1.973 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001681/1.365, allocations: 382.4 kB / 1.509 GB, free: 1.594 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/1.366, allocations: 0.6593 MB / 1.509 GB, free: 0.9375 MB / 1.186 GB Notification: Performance of SimCode: time 1.012e-06/1.366, allocations: 3.938 kB / 1.509 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/1.502, allocations: 59.13 MB / 1.567 GB, free: 6.477 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.76/22.27, allocations: 7.938 kB / 1.567 GB, free: 6.469 MB / 1.248 GB " [Timeout remaining time 278] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 28.72386043611914]