Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001336/0.001336, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001499/0.001499, allocations: 220 kB / 22.25 MB, free: 5.105 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.789 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.136/3.136, allocations: 0.49 GB / 0.7951 GB, free: 35.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.00199/0.00199, allocations: 67.09 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3354, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0184/0.3538, allocations: 13.95 MB / 1.339 GB, free: 3.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.3699, allocations: 9.971 MB / 1.349 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.3715, allocations: 91.19 kB / 1.349 GB, free: 9.391 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005156/0.3767, allocations: 1.682 MB / 1.351 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006116/0.3828, allocations: 1.85 MB / 1.353 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.385, allocations: 0.7595 MB / 1.353 GB, free: 5.094 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004291/0.3893, allocations: 2.758 MB / 1.356 GB, free: 2.324 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.3913, allocations: 1.207 MB / 1.357 GB, free: 1.074 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.3943, allocations: 1.726 MB / 1.359 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.3963, allocations: 1.105 MB / 1.36 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.3966, allocations: 156 kB / 1.36 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.3982, allocations: 0.733 MB / 1.361 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006714/0.3989, allocations: 0.6152 MB / 1.362 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.3999, allocations: 0.7659 MB / 1.362 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003461/0.4034, allocations: 2.763 MB / 1.365 GB, free: 9.188 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4034, allocations: 0 / 1.365 GB, free: 9.188 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4034, allocations: 4 kB / 1.365 GB, free: 9.184 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.382e-05/0.4034, allocations: 0 / 1.365 GB, free: 9.184 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.003913/0.4073, allocations: 2.147 MB / 1.367 GB, free: 6.996 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4074, allocations: 11.97 kB / 1.367 GB, free: 6.984 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/0.4076, allocations: 198.3 kB / 1.367 GB, free: 6.781 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.419, allocations: 2.106 MB / 1.369 GB, free: 4.672 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/0.422, allocations: 1.197 MB / 1.371 GB, free: 3.426 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-05/0.422, allocations: 86.69 kB / 1.371 GB, free: 3.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.4223, allocations: 119.9 kB / 1.371 GB, free: 3.223 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00594/0.4283, allocations: 2.885 MB / 1.374 GB, free: 144 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.342e-05/0.4283, allocations: 11.89 kB / 1.374 GB, free: 132 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.4285, allocations: 55.97 kB / 1.374 GB, free: 76 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000651/0.4292, allocations: 194.1 kB / 1.374 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007466/0.4366, allocations: 2.783 MB / 1.377 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01553/0.4521, allocations: 8.331 MB / 1.385 GB, free: 4.586 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006241/0.4584, allocations: 2.183 MB / 1.387 GB, free: 2.395 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00297/0.4614, allocations: 1.191 MB / 1.388 GB, free: 1.203 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.406e-05/0.4614, allocations: 13 kB / 1.388 GB, free: 1.191 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.4615, allocations: 47.55 kB / 1.388 GB, free: 1.137 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 2.705e-06/0.4615, allocations: 4 kB / 1.388 GB, free: 1.133 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06051/0.522, allocations: 15.99 MB / 1.404 GB, free: 1.09 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.5221, allocations: 68.72 kB / 1.404 GB, free: 1.008 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.5238, allocations: 1.191 MB / 1.405 GB, free: 15.8 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.524, allocations: 53.7 kB / 1.405 GB, free: 15.75 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006278/0.5247, allocations: 0.7607 MB / 1.406 GB, free: 14.98 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005683/0.5252, allocations: 0.5344 MB / 1.406 GB, free: 14.44 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006052/0.5258, allocations: 287.5 kB / 1.406 GB, free: 14.15 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.526, allocations: 309 kB / 1.407 GB, free: 13.85 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003491/0.5295, allocations: 1.507 MB / 1.408 GB, free: 12.34 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003684/0.5331, allocations: 1.784 MB / 1.41 GB, free: 10.46 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00742/0.5406, allocations: 3.369 MB / 1.413 GB, free: 6.996 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.5406, allocations: 0 / 1.413 GB, free: 6.996 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01392/0.5545, allocations: 5.215 MB / 1.418 GB, free: 1.742 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.5545, allocations: 8 kB / 1.418 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.5545, allocations: 4 kB / 1.418 GB, free: 1.73 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007444/0.562, allocations: 1.874 MB / 1.42 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.5639, allocations: 423.2 kB / 1.421 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03121/0.5952, allocations: 23.04 MB / 1.443 GB, free: 7.473 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/0.5979, allocations: 315.6 kB / 1.443 GB, free: 7.164 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.5981, allocations: 75.84 kB / 1.443 GB, free: 7.09 MB / 1.139 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.0009208/0.599, allocations: 457.4 kB / 1.444 GB, free: 6.633 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/0.5993, allocations: 190.9 kB / 1.444 GB, free: 6.445 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/0.6134, allocations: 5.253 MB / 1.449 GB, free: 1.145 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.6134, allocations: 12.09 kB / 1.449 GB, free: 1.133 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.092e-05/0.6134, allocations: 20 kB / 1.449 GB, free: 1.113 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.6135, allocations: 11.95 kB / 1.449 GB, free: 1.102 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/0.6305, allocations: 6.974 MB / 1.456 GB, free: 10 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.6305, allocations: 0 / 1.456 GB, free: 10 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.6322, allocations: 359.7 kB / 1.456 GB, free: 9.652 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006491/0.6387, allocations: 1.708 MB / 1.458 GB, free: 7.922 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/0.6389, allocations: 47.89 kB / 1.458 GB, free: 7.875 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02945/0.6683, allocations: 22.22 MB / 1.48 GB, free: 0.75 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6683, allocations: 4.031 kB / 1.48 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/0.6814, allocations: 4.829 MB / 1.485 GB, free: 11.83 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/0.683, allocations: 438.5 kB / 1.485 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004388/0.6835, allocations: 24 kB / 1.485 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/0.6858, allocations: 315.5 kB / 1.485 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006009/0.6864, allocations: 160.9 kB / 1.485 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.6865, allocations: 55.95 kB / 1.486 GB, free: 10.86 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001198/0.6877, allocations: 0.786 MB / 1.486 GB, free: 10.07 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6877, allocations: 0 / 1.486 GB, free: 10.07 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002911/0.6906, allocations: 0.6601 MB / 1.487 GB, free: 9.41 MB / 1.186 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.01354/0.7042, allocations: 5.409 MB / 1.492 GB, free: 3.906 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01154/0.7157, allocations: 4.925 MB / 1.497 GB, free: 14.88 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.7157, allocations: 0 / 1.497 GB, free: 14.88 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.007501/0.7232, allocations: 3.28 MB / 1.5 GB, free: 11.49 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/0.7259, allocations: 0.5522 MB / 1.501 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0497/0.7756, allocations: 21.79 MB / 1.522 GB, free: 4.66 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.7769, allocations: 0.9804 MB / 1.523 GB, free: 3.641 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001461/0.7783, allocations: 386.4 kB / 1.523 GB, free: 3.258 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009608/0.7793, allocations: 0.6554 MB / 1.524 GB, free: 2.602 MB / 1.217 GB Notification: Performance of SimCode: time 7.82e-07/0.7793, allocations: 0 / 1.524 GB, free: 2.602 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/0.9113, allocations: 64.41 MB / 1.587 GB, free: 3.152 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.16, allocations: 7.453 kB / 1.587 GB, free: 3.148 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.77983958297409]