Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001741/0.001741, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002199/0.002199, allocations: 214.3 kB / 23.04 MB, free: 5.078 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.09/3.09, allocations: 0.49 GB / 0.7959 GB, free: 33.33 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.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",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.001953/0.001953, allocations: 66.7 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3187, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01894/0.3377, allocations: 14.59 MB / 1.341 GB, free: 3.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.3535, allocations: 9.797 MB / 1.35 GB, free: 9.496 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.3549, allocations: 83.25 kB / 1.351 GB, free: 9.414 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004914/0.3598, allocations: 1.745 MB / 1.352 GB, free: 7.664 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004608/0.3644, allocations: 1.588 MB / 1.354 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.3664, allocations: 0.7633 MB / 1.355 GB, free: 5.312 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003837/0.3703, allocations: 2.532 MB / 1.357 GB, free: 2.77 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.3722, allocations: 1.196 MB / 1.358 GB, free: 1.535 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.374, allocations: 1.082 MB / 1.359 GB, free: 460 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.3762, allocations: 1.214 MB / 1.36 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004302/0.3766, allocations: 164 kB / 1.361 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.3783, allocations: 0.815 MB / 1.361 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007626/0.3791, allocations: 0.6348 MB / 1.362 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.3804, allocations: 0.9406 MB / 1.363 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003741/0.3841, allocations: 2.763 MB / 1.366 GB, free: 9.898 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3841, allocations: 3.938 kB / 1.366 GB, free: 9.895 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3841, allocations: 0 / 1.366 GB, free: 9.895 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.071e-05/0.3842, allocations: 0 / 1.366 GB, free: 9.895 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.004952/0.3892, allocations: 2.118 MB / 1.368 GB, free: 7.738 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3892, allocations: 12.03 kB / 1.368 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.159e-05/0.3893, allocations: 30.56 kB / 1.368 GB, free: 7.695 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003369/0.3896, allocations: 194.4 kB / 1.368 GB, free: 7.496 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.4018, allocations: 2.094 MB / 1.37 GB, free: 5.398 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.4049, allocations: 1.216 MB / 1.371 GB, free: 4.133 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.405, allocations: 94.42 kB / 1.371 GB, free: 4.039 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004273/0.4054, allocations: 123.9 kB / 1.371 GB, free: 3.918 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006631/0.412, allocations: 2.675 MB / 1.374 GB, free: 1.094 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.464e-05/0.4121, allocations: 11.94 kB / 1.374 GB, free: 1.082 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/0.4124, allocations: 51.98 kB / 1.374 GB, free: 1.031 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006746/0.413, allocations: 178.1 kB / 1.374 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00854/0.4216, allocations: 2.803 MB / 1.377 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/0.4388, allocations: 10.36 MB / 1.387 GB, free: 3.113 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007191/0.446, allocations: 2.225 MB / 1.389 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/0.4494, allocations: 1.21 MB / 1.39 GB, free: 15.67 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.138e-05/0.4495, allocations: 13 kB / 1.39 GB, free: 15.66 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.4495, allocations: 39.56 kB / 1.39 GB, free: 15.61 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 2.995e-06/0.4495, allocations: 3.938 kB / 1.39 GB, free: 15.61 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.04779/0.4973, allocations: 12.67 MB / 1.403 GB, free: 2.891 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.4974, allocations: 72.72 kB / 1.403 GB, free: 2.809 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.499, allocations: 1.113 MB / 1.404 GB, free: 1.68 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.4992, allocations: 45.7 kB / 1.404 GB, free: 1.629 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005941/0.4998, allocations: 0.7287 MB / 1.405 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005352/0.5004, allocations: 479.8 kB / 1.405 GB, free: 432 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005716/0.5009, allocations: 259.5 kB / 1.405 GB, free: 164 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.5011, allocations: 369.8 kB / 1.406 GB, free: 15.79 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/0.5047, allocations: 1.339 MB / 1.407 GB, free: 14.45 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003807/0.5085, allocations: 1.596 MB / 1.409 GB, free: 12.76 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007472/0.516, allocations: 2.994 MB / 1.412 GB, free: 9.668 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.516, allocations: 7.938 kB / 1.412 GB, free: 9.66 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01239/0.5284, allocations: 4.396 MB / 1.416 GB, free: 5.211 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.5284, allocations: 11.94 kB / 1.416 GB, free: 5.199 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.5284, allocations: 8 kB / 1.416 GB, free: 5.191 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005519/0.5339, allocations: 1.435 MB / 1.417 GB, free: 3.715 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.5361, allocations: 435.2 kB / 1.418 GB, free: 3.289 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0304/0.5665, allocations: 25.36 MB / 1.443 GB, free: 8.418 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/0.5696, allocations: 307.5 kB / 1.443 GB, free: 8.117 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004366/0.57, allocations: 59.95 kB / 1.443 GB, free: 8.059 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001409/0.5714, allocations: 438.8 kB / 1.443 GB, free: 7.621 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005216/0.5719, allocations: 174.9 kB / 1.443 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.5843, allocations: 4.406 MB / 1.448 GB, free: 2.988 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.5843, allocations: 12 kB / 1.448 GB, free: 2.977 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.27e-05/0.5843, allocations: 16 kB / 1.448 GB, free: 2.961 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.5844, allocations: 7.984 kB / 1.448 GB, free: 2.953 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.6009, allocations: 6.696 MB / 1.454 GB, free: 12.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.6009, allocations: 7.984 kB / 1.454 GB, free: 12.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.6029, allocations: 379.3 kB / 1.455 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004768/0.6076, allocations: 1.319 MB / 1.456 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.6078, allocations: 43.97 kB / 1.456 GB, free: 10.31 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/0.6349, allocations: 24.17 MB / 1.48 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.6349, allocations: 3.938 kB / 1.48 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/0.6467, allocations: 4.16 MB / 1.484 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.6478, allocations: 390.7 kB / 1.484 GB, free: 12.01 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000388/0.6482, allocations: 24 kB / 1.484 GB, free: 11.99 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/0.6505, allocations: 307.5 kB / 1.484 GB, free: 11.69 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000434/0.6509, allocations: 144.6 kB / 1.485 GB, free: 11.54 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.6511, allocations: 47.97 kB / 1.485 GB, free: 11.5 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001158/0.6522, allocations: 0.7526 MB / 1.485 GB, free: 10.74 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6522, allocations: 0 / 1.485 GB, free: 10.74 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002104/0.6543, allocations: 0.5664 MB / 1.486 GB, free: 10.18 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0117/0.666, allocations: 4.755 MB / 1.49 GB, free: 5.32 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01173/0.6778, allocations: 4.962 MB / 1.495 GB, free: 188 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6778, allocations: 0 / 1.495 GB, free: 188 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007393/0.6852, allocations: 3.421 MB / 1.499 GB, free: 12.59 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/0.6878, allocations: 0.5538 MB / 1.499 GB, free: 12.06 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04639/0.7342, allocations: 19.34 MB / 1.518 GB, free: 8.258 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.7357, allocations: 1.473 MB / 1.52 GB, free: 6.754 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001618/0.7374, allocations: 433.6 kB / 1.52 GB, free: 6.324 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.7384, allocations: 0.6281 MB / 1.521 GB, free: 5.695 MB / 1.217 GB Notification: Performance of SimCode: time 7.21e-07/0.7384, allocations: 4 kB / 1.521 GB, free: 5.691 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1929/0.9313, allocations: 53.38 MB / 1.573 GB, free: 0.9727 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.41/21.35, allocations: 3.656 kB / 1.573 GB, free: 0.9727 MB / 1.264 GB " [Timeout remaining time 278] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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: 28.27583203301765]