Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0008098/0.0008098, 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.0007808/0.0007808, allocations: 170.3 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.8418/0.8418, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.622/1.622, allocations: 359 MB / 0.6037 GB, free: 11.07 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.472e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004964/0.004979, allocations: 5.901 MB / 0.9563 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003097/0.008076, allocations: 3.11 MB / 0.9593 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.008296, allocations: 43.56 kB / 0.9593 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.009419, allocations: 0.9335 MB / 0.9602 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005723/0.009991, allocations: 0.497 MB / 0.9607 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.01054, allocations: 0.5013 MB / 0.9612 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006847/0.01123, allocations: 1.135 MB / 0.9623 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005131/0.01174, allocations: 0.5061 MB / 0.9628 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.01223, allocations: 0.6078 MB / 0.9634 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.01259, allocations: 426.8 kB / 0.9638 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.01264, allocations: 60 kB / 0.9639 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.01318, allocations: 458.6 kB / 0.9643 GB, free: 5.289 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.01336, allocations: 311.1 kB / 0.9646 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.01354, allocations: 275.3 kB / 0.9649 GB, free: 4.715 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007745/0.01431, allocations: 1.211 MB / 0.9661 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01431, allocations: 0 / 0.9661 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01432, allocations: 0 / 0.9661 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.01432, allocations: 0 / 0.9661 GB, free: 3.5 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009725/0.0153, allocations: 0.9986 MB / 0.967 GB, free: 2.461 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.01533, allocations: 8.031 kB / 0.967 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.775e-05/0.01542, allocations: 122.7 kB / 0.9672 GB, free: 2.324 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007751/0.0162, allocations: 224.2 kB / 0.9674 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.01678, allocations: 0.5314 MB / 0.9679 GB, free: 1.547 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.0168, allocations: 45.67 kB / 0.9679 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.01687, allocations: 68.25 kB / 0.968 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009075/0.01778, allocations: 1.13 MB / 0.9691 GB, free: 180 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.0178, allocations: 8.109 kB / 0.9691 GB, free: 172 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.01784, allocations: 40.11 kB / 0.9692 GB, free: 132 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.875e-05/0.0179, allocations: 61.28 kB / 0.9692 GB, free: 72 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006879/0.01859, allocations: 0.6879 MB / 0.9699 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.02147, allocations: 4.502 MB / 0.9743 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.02196, allocations: 421.1 kB / 0.9747 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/0.02242, allocations: 384.6 kB / 0.975 GB, free: 9.91 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.02244, allocations: 4 kB / 0.9751 GB, free: 9.906 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.02246, allocations: 38.56 kB / 0.9751 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=41): time 1.794e-06/0.02246, allocations: 0 / 0.9751 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42): time 0.002319/0.02478, allocations: 1.726 MB / 0.9768 GB, free: 8.113 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.02482, allocations: 67.34 kB / 0.9768 GB, free: 8.035 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.02514, allocations: 474.7 kB / 0.9773 GB, free: 7.562 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.02516, allocations: 29.7 kB / 0.9773 GB, free: 7.527 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.02534, allocations: 396.1 kB / 0.9777 GB, free: 7.137 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.02542, allocations: 154.7 kB / 0.9778 GB, free: 6.984 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.02552, allocations: 110.2 kB / 0.9779 GB, free: 6.871 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.02578, allocations: 366.8 kB / 0.9783 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.02601, allocations: 245.1 kB / 0.9785 GB, free: 6.262 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.02632, allocations: 461 kB / 0.979 GB, free: 5.719 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.02691, allocations: 0.7519 MB / 0.9797 GB, free: 4.871 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.02691, allocations: 4 kB / 0.9797 GB, free: 4.867 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001049/0.02796, allocations: 1.046 MB / 0.9807 GB, free: 3.801 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.02798, allocations: 8 kB / 0.9807 GB, free: 3.793 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.02799, allocations: 7.938 kB / 0.9807 GB, free: 3.785 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.02853, allocations: 323.9 kB / 0.9811 GB, free: 3.457 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.02869, allocations: 95.77 kB / 0.9811 GB, free: 3.363 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004181/0.03288, allocations: 7.064 MB / 0.988 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.03307, allocations: 36.02 kB / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.03309, allocations: 24 kB / 0.9881 GB, free: 11.77 MB / 0.948 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.0333, allocations: 251.5 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.03335, allocations: 63.56 kB / 0.9884 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009451/0.03429, allocations: 0.8965 MB / 0.9893 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.0343, allocations: 4 kB / 0.9893 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.0343, allocations: 4 kB / 0.9893 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.03431, allocations: 288 / 0.9893 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.03585, allocations: 1.596 MB / 0.9908 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.03585, allocations: 4 kB / 0.9908 GB, free: 8.848 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.03593, allocations: 47.84 kB / 0.9909 GB, free: 8.801 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/0.03641, allocations: 315.3 kB / 0.9912 GB, free: 8.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.03643, allocations: 8 kB / 0.9912 GB, free: 8.473 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004045/0.04047, allocations: 7.067 MB / 0.9981 GB, free: 0.9531 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.04047, allocations: 0 / 0.9981 GB, free: 0.9531 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.04152, allocations: 0.9841 MB / 0.9991 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.04165, allocations: 107.5 kB / 0.9992 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.04168, allocations: 12 kB / 0.9992 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.04181, allocations: 23.97 kB / 0.9992 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.04188, allocations: 47.86 kB / 0.9992 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.04189, allocations: 8 kB / 0.9993 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002044/0.0421, allocations: 314.9 kB / 0.9996 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.0421, allocations: 288 / 0.9996 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004719/0.04257, allocations: 196 kB / 0.9997 GB, free: 15.23 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001106/0.04368, allocations: 1.548 MB / 1.001 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.04472, allocations: 1.164 MB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04473, allocations: 0 / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.04532, allocations: 0.8269 MB / 1.003 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.0459, allocations: 211.4 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.05087, allocations: 5.887 MB / 1.009 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.05113, allocations: 399 kB / 1.01 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.0513, allocations: 93.2 kB / 1.01 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.05148, allocations: 228.4 kB / 1.01 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of SimCode: time 6.81e-07/0.05148, allocations: 0 / 1.01 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.08419, allocations: 17.19 MB / 1.027 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/6.969, allocations: 12.08 kB / 1.027 GB, free: 3.57 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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: 10.758013376966119]